Font sizing is another typographical way to convey meaning about the text on your page. In this video, look at font-sizing in CSS.
- [Instructor] In CSS there are different units…for specifying the font size.…Some are relative values and some are absolute values.…When a relative unit is used, it is calculated in relation…to the parent or nearest ancestor's font size.…Absolute values are not affected by ancestor elements.…Both relative and absolute font sizes are inherited…by descendant elements.…Let's take a look at how to use some common font sizing…values.…Screens are measured in pixels, so this is a common…and straightforward way to define measurements in CSS.…
Pixels are absolute values and is great for accuracy…and gives you fine grain control over your design.…Different browsers interpret decimal values inconsistently.…Some round up, some round down, this mostly effects…older browsers but it's convention not to use decimal…points when using pixels.…The default size of body text like paragraphs and lists…are equivalent to 16 pixels.…Headings are bigger or smaller depending on which heading…level you use.…
Named after the letter M the em unit has historically…
- Creating a CSS file
- Writing basic selectors
- Setting properties
- Using different typefaces and web-safe fonts
- Understanding cascading and inheritance
- Setting a font family, font size, text color, and more
- Understanding the box model
- Using the float property
Skill Level Beginner
1. Getting Started
2. CSS Core
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.