Ever since I watched @matthiasott talk at CSS Day, I've been eager to experiment with the clever tan(atan2()) technique.
So, I played around with animation durations relative to the viewport.
https://9elements.com/blog/speed-vs-duration-a-use-case-for-mixed-unit-division/
Speed vs. Duration - A use case for mixed unit division - 9elements
Animating elements in CSS can be challenging, especially when you want to ensure smooth transitions across different screen sizes. One issue that I stumble upon quite often is the inability to divide two length values in CSS. For example, calc(100vw...