Generic family names are keywords and must not be quoted. Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent when none of the specified fonts are available. Font family names containing whitespace should be quoted. For example, "Times" and "Helvetica" are font families. The example below lists two font families, the first with a and the second with a : font-family: Gill Sans Extrabold, sans-serif Values The name of a font family. Each font family is specified as either a or a value. The font-family property lists one or more font families, separated by commas. The unique non-ambiguous order defined by the formal grammar It also applies to ::first-letter and ::first-line. (However, this doesn't work in Internet Explorer 6 or earlier.) When a font is only available in some styles, variants, or sizes, those properties may also influence which font family is chosen.Īll elements. Rather, font selection is done one character at a time, so that if an available font does not have a glyph for a needed character, the latter fonts are tried. Font selection does not simply stop at the first font in the list that is on the user's system. Note: The font-family property specifies a list of fonts, from highest priority to lowest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |