Add rem unit to font-size (#23533)

This commit is contained in:
Tony Scialdone
2018-12-04 16:56:21 -07:00
committed by Tom
parent ca642d02c3
commit b88d7a74e0

View File

@ -62,6 +62,7 @@ There are different types of font size values:
* `px` (pixels) - The default size of text being `16px` * `px` (pixels) - The default size of text being `16px`
* `em` - `1em` = the current font size, so `1em` = `16px` (recommended by the W3C) * `em` - `1em` = the current font size, so `1em` = `16px` (recommended by the W3C)
* `rem` - `1rem` = the font size of the HTML element, or the browser's default font size
* `small`, `medium`, `large` - known as absolute size values * `small`, `medium`, `large` - known as absolute size values
* `%` - percentages * `%` - percentages