Chris Bolson
cbolson.bsky.social
Chris Bolson
@cbolson.bsky.social
The best dependency is no dependency
opps, I forgot to include the link:
codepen.io/cbolson/full...
Corner-Shape Gallery
...
codepen.io
November 4, 2025 at 8:13 PM
Returning to your original question, aren't seconds or milliseconds the only valid units for keyframe animations?
October 3, 2025 at 8:32 PM
They are valid units so calc() doesn't have an issue with them.
So, as they are the same unit, calc() is cancelling them out to give 0.5, just as calc(5px / 10px) will also return 0.5

On the other hand calc(5px / 10hz) will fail as the units are not compatible (at least it does in my tests)
October 3, 2025 at 8:25 PM
Are the CSS frequency units Hz and kHz still supported?
MDN suggests not.
October 3, 2025 at 11:50 AM
I have now added more sliders to be able to control the second border-radius property. It can now generate even more interesting shapes!
August 9, 2025 at 5:35 PM
I'd love one if you can ship to 🇪🇸 😅
August 6, 2025 at 7:13 PM
I'm not sure happened to the preview image on that one so here is a short video capture
May 22, 2025 at 1:50 PM