- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
font-property
October 17, 2016
The font property can set the style, weight, variant, size, line-height and font-family.
font: 300 22px/30px Roboto, sans-serif;
The above would set the text of an element to an italic style a bold weight a normal variant a relative size a line height of 1.4em and the font to Verdana or another sans-serif typeface.
Text and font properties in the Cascading Style Sheets serve to set the appearance of individual characters in a word or line of text. The main problems are unavailable fonts and mapping of (variant) glyphs to character positions.