use cases for calc

I never know when I should use the calc property. What are some good use cases for it?
5 Replies
theking2
theking2•2mo ago
Monimolimnion
Monimolimnion•2mo ago
I think I use it most often to make perfect nested corner radiuses
Martin Bavio
Martin Bavio•2mo ago
I recently used it to build an implicit grid where I needed elements to keep a certain aspect-ratio
No description
Martin Bavio
Martin Bavio•2mo ago
basically every time you need to do any math, which depending on the case might be a lot of times or else. there's also this article from yesterday where basically it's all calc!
alec
alecOP•2mo ago
Thanks so much Martin 🫡

Did you find this page helpful?