Math in CSS: What and Why to Compute for Styles
summary
Overview of how modern CSS supports mathematical functions — trigonometry, rounding, exponentiation, logarithms and logical operations — and why they are useful for styling. Shows concrete examples of using these CSS math features to create impressive UI effects, aimed at front-end developers and designers of any skill level.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:13CSS math functions
- 3:00Calc and variables
- 6:31Responsive typography
- 9:49Logical functions
- 10:33Trigonometry basics
- 16:35CSS trig functions
- 17:17Math functions in CSS
- 21:02Tangent use cases
- 22:04Drawing shapes
- 24:09Solar system demo
- 25:14Text around logo
- 27:02Eye cursor tracking
- 29:09Adaptive padding
- 29:31Bit manipulation
- 30:35Infinity in CSS
- 31:58Performance tips
- 33:22Q&A
