DigitalOcean and CSS-Tricks logos

CSS-Tricks is powered by DigitalOcean. Make your site part of the leading solution for simple and scalable cloud-based hosting with a free $200 credit to get you started!

Direct link to the article Creating a Clock with the New CSS sin() and cos() Trigonometry Functions

Creating a Clock with the New CSS sin() and cos() Trigonometry Functions

CSS trigonometry functions are here! Well, they are if you’re using the latest versions of Firefox and Safari, that is. Having this sort of mathematical power in CSS opens up a whole bunch of possibilities. In this tutorial, I thought we’d dip our toes in the water to get a feel for a couple of […]

Avatar of Mads Stoumann
Mads Stoumann on
Keep browsing in the archives