The “Most Hated” CSS Feature: cos() and sin()
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
CSS trigonometric functions cos() and sin() enable powerful layout and animation techniques despite being labeled the "most hated" CSS feature in State of CSS 2025. The functions map to unit circle coordinates, allowing developers to create circular layouts, wavy patterns, and damped oscillatory animations. Practical examples

Table of contents
What the heck are cos() and sin() anyway?Circular layoutsWavy layoutsDamped oscillatory animationsMore trigonometry to come!8 Comments
Sort: