Learn how to use pure CSS to get screen size measurements, define custom properties, and perform mathematical operations on those properties. This method updates in real-time without JavaScript, utilizing new CSS features like @property, atan2, and tan functions.

3m read timeFrom dev.to
Post cover image
Table of contents
Define PropertyRemoving UnitsDisplaying the NumbersDone!
29 Comments

Sort: