Core: learn it Step 3 of 16 on the Frontend Developer roadmap

Units and sizing

Pixels are fixed, while rem, % and viewport units scale with the user's settings or screen. Relative units make responsive design much easier.

Resources

More in CSS fundamentals

See it on the Frontend Developer roadmap