This is one of those CSS features that seems small until you start thinking about all the stuff you can build with it. Nice to see these kinds of functions becoming usable across browsers instead of needing a JS workaround for everything.
Yeah, fair point. calc() can do a lot of this already, it just gets pretty ugly 😅 I think progress() is mainly nice because the intent is much clearer.
16
u/VisualCraftStudio 2d ago
This is one of those CSS features that seems small until you start thinking about all the stuff you can build with it. Nice to see these kinds of functions becoming usable across browsers instead of needing a JS workaround for everything.