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

YouTube

Choosing the Right CSS Unit - A Flowchart Guide

Kevin Powell via YouTube

Overview

Learn how to choose the right CSS unit with this informative 19-minute video tutorial. Explore a helpful flowchart that simplifies the selection process among 54 CSS length units. Discover which units are best for positioning, effects, font sizes, spacing, Flex and Grid layouts, and element dimensions. Gain insights into using clamp() for responsive typography, employing em units for text spacing, and leveraging viewport units like svh, lvh, and dvh. Understand the pros and cons of various CSS units and learn best practices for creating responsive and accessible web designs.

Syllabus

- Introduction
- The flowchart
- positioning, details, and effects
- font-size
- spacing
- Flex and Grid
- widths and heights

Taught by

Kevin Powell

Reviews

Start your review of Choosing the Right CSS Unit - A Flowchart Guide

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.