Haydn Ewers
particlesystem.com
Haydn Ewers
@particlesystem.com
Product Manager / Software Developer. Side projects at particlesystem.com.
Yeah, that makes sense. I think the only easy unit conversion to do is from a <number> to a specific unit. Could --border-angle be a unitless number and you just multiple it by 1deg at the end to convert it?
November 27, 2024 at 2:11 AM
I don’t 100% follow what you’re trying to achieve, but it feels like the trig functions would help: web.dev/articles/css...
Trigonometric functions in CSS  |  Articles  |  web.dev
Calculate the sine, cosine, tangent, and more in CSS.
web.dev
November 26, 2024 at 10:19 AM