Back to Daily Feed 
Exploring CSS Infinity: Creative Use Cases
Originally published on Frontend Masters Blog
View Original Article
Share this article:
Summary & Key Takeaways
- The article explores the use of
infinityin CSS. - It must be used within a
calc()function, e.g.,border-radius: calc(infinity * 1px);. - The author presents various creative ideas for its application.
- It highlights a less common but interesting CSS capability.
Our Commentary
infinity in CSS? I genuinely didn't know this was a thing. My brain is already spinning with all the weird, wonderful, and probably terrible things I could do with this. It's a fun little quirk of the language. Not something you'd reach for every day, but it's cool to know it's there for those truly unique design challenges. We love these kinds of deep dives into the more obscure corners of CSS.
View Original Article
Share this article: