What font text style does css have?
This article mainly shows you the "css has what font text style", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "what font text style does css have" this article.
1. Font-family font type. Multiple fonts can be declared at the same time, separated by commas.
Chinese, italics, need to be quoted in double quotes.
H2 {`font- family`: 'Chinese Caiyun'} p {`Caiyy`: official script, boldface, Song typeface;} set the font to Chinese Caiyun
The font is set according to official script, boldface, Song style, and order.
2. Font-weight specifies the thickness of the font.
Font-weight: normal; / * normal * / font-weight: bold; / * bold * / font-weight: bolder; / * bold * / font-weight: lighter; / * fine * / font-weight: 400; / * the number is 100-900. the larger the value, the thicker the value. 400 is normal * /
3. Text-indent defines the amount of indentation before the first line of text content of a block element.
/ * for example * / text-indent: 40px; the above is all the content of the article "what is the font text style of css"? thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!