Target New ArrivalsFourth of JulyBack to SchoolCollegeClothing, Shoes & AccessoriesHome & DecorKitchen & DiningOutdoor Living & GardenGroceryHousehold EssentialsBabyBeautyPersonal CareSports & OutdoorsHealthWellnessSchool & Office SuppliesToys & GamesElectronicsVideo GamesMovies, Music & BooksParty SuppliesGift IdeasGift CardsPetsUlta Beauty at TargetShop by CommunityTarget OpticalDealsClearanceNew ArrivalsBack to SchoolCollegeTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores
Math for Web Design - by  Paul McFedries (Paperback) - 1 of 1

Math for Web Design - by Paul McFedries (Paperback)

$59.99

Pre-order

Free & easy returns
Free & easy returns
Return this item by mail or in store within 90 days for a full refund.
Eligible for registries and wish lists

About this item

Highlights

  • Get the eBook free when you register your print book at Manning.
  • Author(s): Paul McFedries
  • 400 Pages
  • Computers + Internet, Internet

Description



Book Synopsis



Get the eBook free when you register your print book at Manning.

"A necessity for designing bulletproof layouts."
--Chris Kardell, Centennial Bank

Math for Web Design: Precision layout and animation explains the mathematical principles behind good frontend design. With his engaging writing, author Paul McFedries makes it clear how math, carefully applied in CSS and JavaScript, solves everyday design problems such as distributing space, choosing accessible colors, positioning elements, and making animation feel natural. When you understand the calculations behind color, geometry, and motion, you can design with more precision, debug behavior more confidently, and create interfaces that are both attractive and functional.

You'll start with the basics. Early chapters introduce the minimum math you need, then connect it immediately to front-end tools. From there, the book moves into real layout systems, showing how CSS units are computed, how inheritance affects sizes, how the box model changes formulas, and how Grid and Flexbox distribute space.

The middle chapters focus on responsive and visual decisions that define modern web design. You'll work through percentage-based and viewport-based layouts, media query logic, liquid layouts, and custom clamp() formulas. You'll also learn the mathematics of color, including color conversion, harmonious palettes, WCAG contrast ratios, alpha compositing, and blend modes. Typography receives the same practical treatment, with formulas for font size, line height, line length, fluid type, and modular scales.

Later chapters move into the math of interaction, motion, and richer UI effects. You'll use trigonometry for circular menus, spinners, wave paths, and directional calculations, along with vectors and geometry to align components, create hover and parallax effects, and constrain dragging. The book then extends this foundation into Bezier curves, CSS easing, gesture math, and scroll-based animation.

Math for Web Design is a masterful guided tour through the math front-end professionals actually use. Each concept appears because it solves a concrete design or implementation problem. CSS and JavaScript examples keep the explanations grounded, while exercises and solutions help you build fluency. You'll appreciate how this book builds a durable mental model layer by layer, connecting fundamentals to layout, color, typography, animation, interaction, and canvas work in a sequence you can revisit as a practical reference.

What's inside

- CSS and JavaScript math fundamentals
- Grid, Flexbox, responsive layout, and fluid sizing
- Color, accessibility, typography, and blending
- Geometry, trigonometry, interaction, and animation math

About the reader

For developers, designers, and UX/UI professionals who know CSS and JavaScript. No advanced math knowledge required.

About the author

Paul McFedries has been a professional technical writer for more than 30 years. He is the author of Manning's Web Design Playground, Second Edition, and Build a Website with ChatGPT. His 100+ books have sold more than 4 million copies worldwide.

Table of Contents

1 Web dev math fundamentals
2 Math basics for JavaScript
3 Math basics for CSS
4 CSS Grid math
5 Flexbox math
6 The mathematics of responsive design
7 The mathematics of color
8 Text and typography math
9 Trigonometry for web developers
10 Vectors and geometry in UI design
11 Using Bézier curves for smooth animation
12 Physics-based animations
13 Interactivity and gesture-based UI math
14 Canvas-based math and drawing

Dimensions (Overall): 9.31 Inches (H) x 7.31 Inches (W) x 1.21 Inches (D)
Weight: 1.25 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 400
Genre: Computers + Internet
Sub-Genre: Internet
Publisher: Manning Publications
Format: Paperback
Author: Paul McFedries
Language: English
Street Date: June 30, 2026
TCIN: 1007557321
UPC: 9781633434820
Item Number (DPCI): 247-02-0552
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 1.21 inches length x 7.31 inches width x 9.31 inches height
Estimated ship weight: 1.25 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.
See the return policy for complete information.

Q: Who is the target audience for this book?

submitted by AI Shopping Assistant - 5 days ago
  • A: The book is aimed at developers, designers, and UX/UI professionals familiar with CSS and JavaScript.

    submitted byAI Shopping Assistant - 5 days ago
    Ai generated

Q: What additional resource is provided with the print book?

submitted by AI Shopping Assistant - 5 days ago
  • A: Readers receive a free eBook when they register their print book at Manning Publications.

    submitted byAI Shopping Assistant - 5 days ago
    Ai generated

Q: Does the book require advanced math knowledge?

submitted by AI Shopping Assistant - 5 days ago
  • A: No, the book is designed for readers without advanced math knowledge, focusing on practical applications.

    submitted byAI Shopping Assistant - 5 days ago
    Ai generated

Q: What is the main focus of the book?

submitted by AI Shopping Assistant - 5 days ago
  • A: The book focuses on applying mathematical principles to enhance frontend web design and solve practical design problems.

    submitted byAI Shopping Assistant - 5 days ago
    Ai generated

Q: What topics are covered in the book's chapters?

submitted by AI Shopping Assistant - 5 days ago
  • A: The book covers web development math fundamentals, CSS, JavaScript, responsive design, color, typography, and animation.

    submitted byAI Shopping Assistant - 5 days ago
    Ai generated

Additional product information and recommendations

Discover more options

Frequently bought together

Best-selling Computers & Technology Books

Get top deals, latest trends, and more.

Privacy policy