CSS Tutorial in Hindi [Part 15] - CSS Fonts

Tech Gun
Youtube
Related Topic
:- Web Development HTML

In this video i will talk about Fonts in CSS. The CSS font properties define the font family, boldness, size, and the style of a text. Font Family The font family of a text is set with the font-family property. 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. 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. Font Style The font-style property is mostly used to specify italic text. This property has three values: normal - The text is shown normally italic - The text is shown in italics Font Size The font-size property sets the size of the text. Font Weight The font-weight property specifies the weight of a font: Font Variant The font-variant property specifies whether or not a text should be displayed in a small-caps font.

Comments