font-family
font-family is a CSS property in the Typography category. Sets font family, size, weight, and typeface properties. The syntax is font-family: <family-name> | <generic-family>. A typical example: font-family: Arial, sans-serif; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is font-size, which sets font family, size, weight, and typeface properties. A close relative is font-weight, which sets font family, size, weight, and typeface properties. A close relative is font-style, which sets font family, size, weight, and typeface properties. More about this category: CSS typography properties for fonts, sizes, and text rendering. Related Typography entries: font-size, font-weight, font-style, font-variant, font, font-display, font-size-adjust, font-stretch. This page is part of the free CSS Reference documentation covering 841+ properties, selectors, functions, and at-rules, each with syntax, values, examples, and browser support.