hooglown.blogg.se

Css inherit font size and make larger
Css inherit font size and make larger





unset This value acts as either inherit or initial, depending on whether the property is inherited or not. inherit Represents the computed value of the property on the element's parent. In addition, all CSS properties also accept the following CSS-wide keyword values as the sole component of their property value: initial Represents the value specified as the property's initial value. percentage Using a percentage value specifies an absolute font size relative to the parent element's font size. This value is independent of the user agent's font table. length Specifies an absolute font size using a valid length value (for example, 18px, 1.5em, 14pt, etc). If the size is outside the range of absolute keyword values, the user agent will extrapolate the size accordingly. If the parent's font size doesn't match an absolute keyword, the user agent will compute it either by picking a size between absolute keyword values, or rounding it off to the nearest one. For example, if the parent element has medium, a value of smaller against the current element will make its font size small. These relative keywords move the font size through the list of absolute font sizes above. This allows you to specify a relative font size using a keyword. When you use an absolute keyword, the user agent looks up the table and calculates the font size accordingly. These absolute keywords refer to an entry in a table of font sizes computed and kept by the user agent. This allows you to specify an absolute font size using a keyword. Font-size: | | | Possible Values absolute-size







Css inherit font size and make larger