A CSS tutorial showing how to use the sin() and cos() trigonometric functions to position circles around a centre and to stagger animation delays. It also covers custom properties and a Sass/SCSS loop, and suits developers who already write CSS.
What you’ll learn
✓Position elements in a circle using sin() and cos()
✓Use custom properties to drive trigonometric layouts