Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CSS Trigonometry

Kevin Powell via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the practical applications of CSS trigonometry functions in this 19-minute video tutorial. Learn how to use sin() and cos() for creative layouts and animations. Start with basic styling for outer circles, then progress to advanced positioning techniques using trigonometric functions. Discover how to improve code efficiency with custom properties and Sass/SCSS loops. Finally, apply sin() and cos() for creating dynamic animation delays. Gain valuable insights into real-world usage of CSS trigonometry and enhance your web design skills.

Syllabus

- Introduction
- A use case for sin and cos in CSS
- What we are starting with
- Basic styling for the outer circles
- Getting the outer circles centered
- Positioning the outer circles with magic numbers
- Positioning with sin and cos
- Improving things with custom properties
- Speeding things up with a Sass/SCSS loop
- Using sin and cos for animation delays

Taught by

Kevin Powell

Reviews

Start your review of CSS Trigonometry

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.