New! My 44-page ebook "CSS in 44 minutes" is out! 😃
#font-size
Defines the size of the text.
default
font-size: medium;
The text will use the browser's default medium size.
font-size: 20px;
You can use pixel values.
font-size: 1.2em;
You can use em values.
The value is relative to the parent's font-size
.
As a result, the value will cascade if used on child elements.