YoVDO

CSS Units & Sizes Tutorial for Beginners

Offered By: Dave Gray via YouTube

Tags

HTML & CSS Courses Computer Science Courses Web Development Courses Visual Studio Code Courses

Course Description

Overview

Learn about common CSS units of measurement in this beginner-friendly tutorial. Explore absolute units like pixels and relative units such as percentages, rem, and em. Understand when to use each unit type, discover the ch unit, and delve into viewport units (vw and vh). Gain insights on default browser styles, CSS resets, and practical applications of different units. Master the art of setting sizes in web pages with this comprehensive guide to CSS units and sizes.

Syllabus

Intro
Welcome
Setup
Many CSS units to choose from
Absolute units - pixels
Where NOT to use an absolute value
Where you can use an absolute value
Relative units - percent
rem units
rem vs em units
When to use em units
ch units
Default browser styles
CSS Reset
Viewport units - vw and vh
When vw units can cause a problem
A good use case for vh units


Taught by

Dave Gray

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX