The Most Hated CSS Feature: Understanding tan()
Explore the reasons behind the disdain for tan() in CSS and learn how to use it effectively, or find simpler alternatives for your projects.

Why Do Developers Dislike the tan() Function in CSS?
The CSS world is ever-changing, yet some features consistently irk developers. The "State of CSS 2025" survey highlights trigonometric functions, especially tan(), as the most disliked CSS feature. This might surprise those who see the elegance of math in coding. But, understanding the reasons behind the aversion to tan() can lead to better coding habits.
What Makes tan() Unpopular?
- Limited Use Cases: Many developers find
tan()has few practical applications in daily CSS tasks. It's useful for creating specific angles and rotations, but its infrequent use leads to confusion and frustration. - Complexity Over Simplicity: CSS aims to be simple. Introducing trigonometric functions adds unnecessary complexity for many, particularly those who prioritize practicality over mathematical exactness.
- Lack of Familiarity: Trigonometric functions can intimidate developers without a strong math background, causing mistakes and avoidance of
tan()in projects.
How Does tan() Function?
calculates the tangent of an angle, a concept from trigonometry involving right triangle side ratios. In CSS, helps manipulate angle-based values, mainly in transformations.
Related Articles

Unlocking the Potential of Corner-Shape in CSS
Explore how corner-shape in CSS transforms web design, enhancing aesthetics and user experience with unique shapes.
Sep 20, 2025

The Most Hated CSS Feature: Exploring cos() and sin()
Explore the often-misunderstood CSS functions cos() and sin(). Learn practical applications that can elevate your web design skills.
Sep 17, 2025










