Ad
related to: font familycreativefabrica.com has been visited by 100K+ users in the past month
Browse and download 4000+ high quality free fonts. Get access to our ever growing library of fonts, graphics, crafts and more
- Freebies
Freebies on Daily Free-Goods for
Crafters & Designers
- Embroidery Patterns
Shop Our Free Embroidery
Patterns-For Commercial Use Online.
- Freebies
Search results
Learn how to specify the font for an element using the font-family property in CSS. See examples, syntax, values, browser support and related pages.
- no. Read about animatable
- yes
- depends on the browser
- CSS1
Jun 13, 2024 · font-family. The font-family CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element.
- as specified
- depends on user agent
- yes
In CSS there are five generic font families: Serif fonts have a small stroke at the edges of each letter. They create a sense of formality and elegance. Sans-serif fonts have clean lines (no small strokes attached). They create a modern and minimalistic look.
- Serif. Serif fonts have a small line or stroke at the end of each character. They are used in traditional printed materials like books, magazines, etc, and in formal documents like resumes or business letters.
- Sans-Serif. Sans-Serif fonts do not have the small line or stroke at the end of characters. They are seen as clean and modern so often used in digital interfaces and online content.
- Monospace. Monospace fonts have uniform spacing between all the characters. They are used in programming code and text editors as they are easy to read. For example,
- Cursive. Cursive fonts have the joining strokes of characters and imitate the handwriting. They are often used for decorative purposes on web pages. For example,
Jun 17, 2013 · Learn how to use the font-family property to define the font that is applied to the selected element. See examples of font family names, generic family names, and browser support.
Jun 27, 2023 · The font-family CSS descriptor sets the font family for a font specified in an @font-face at-rule. The value is used for name matching against a particular @font-face when styling elements using the font-family property.
People also ask
What is a font-family property?
What are the different types of font families?
What is font-family CSS?
What is a font family?
What are some popular fantasy font families?
Should a font-family list include a generic name?
Aug 16, 2023 · font - CSS: Cascading Style Sheets | MDN. The font CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font. Try it.