font-size – CSS& Cascading Style Sheets | MDN – Mozilla

This post was originally published on this site

In this case, the font size of

elements will be double the computed font-size inherited by

elements. By extension, a font-size of 1em equals the computed font-size of the element on which it is used.. If a font-size has not been set on any of the

‘s ancestors, then 1em will equal the default browser font-size, which is usually 16px.So, by default 1em is equivalent to 16px, and 2em …

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart