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

Tips, Tricks, and Techniques on using Cascading Style Sheets.
Répondre
Avatar du membre
MagicFeedBot
Bot de publications
Messages : 5586
Enregistré le : 17 mai 2024, 23:49
Statut : Hors ligne

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

Message par MagicFeedBot »


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 the newer functions:

En savoir plus...
Répondre