Percentages
In this lesson, we will take a look at the percentage unit in CSS. How it relates to text sizing. How it affects width and height sizing too.
We'll cover the following
Using Percentages with Texts
Percentages, just like ems
and rems
are resizable by the user.
If the font-size for instance is a 100%
:
Get hands-on with 1400+ tech skills courses.