Advertisement
chaaben7

CSS Fonts

Sep 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. In CSS, there are two types of font family names:
  2.  
  3. generic family - a group of font families with a similar look (like "Serif" or "Monospace")
  4. font family - a specific font family (like "Times New Roman" or "Arial")
  5.  
  6. The font family of a text is set with the font-family property.
  7.  
  8. The font-family property should hold several font names as a "fallback" system. If the browser does not support the first font, it tries the next font, and so on.
  9.  
  10. Start with the font you want, and end with a generic family, to let the browser pick a similar font in the generic family, if no other fonts are available.
  11.  
  12. Note: If the name of a font family is more than one word, it must be in quotation marks, like: "Times New Roman".
  13.  
  14. More than one font family is specified in a comma-separated list: http://ow.ly/UkmM304xseg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement