Coding for Beginners: CSS Basics #66— Font Size

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerWeb Design3 min

About this video

A short beginner lesson on setting font sizes in CSS, comparing pixels, ems, rems and percentages and how each one is inherited from parent or root elements. It is aimed at designers learning basic HTML and CSS.

What you’ll learn

  • Set font sizes in pixels, ems, rems and percentages
  • Work out relative font sizes from a parent or root element
  • Set the root html font size to make rem-based sizing simpler