About Lesson
The CSS font is used to set the font’s content of the HTML element. There are many font properties in CSS which are mentioned and briefly discussed below:
- CSS font-family Property: The font-family property specifies the font of an element.
- CSS font-style Property: If we want to give designing to any type of text then we can make the use of CSS font-style property.
- CSS font-weight Property: The font-weight property of the CSS is used to set the weight or thickness of the font being used with the HTML Text.
- CSS font-variant Property: The font-variant property is used to converted all lowercase letters into uppercase letters.
- CSS font-size Property: The font-size property in CSS is used to set the font size of text in HTML document.
- CSS font-stretch Property: The font-stretch property in CSS is used to set the text wider or narrower.
- CSS font-kerning Property: This property is used to control the usage of the Kerning Information that has been stored in the Font.
Exercise Files
No Attachment Found
Join the conversation