How to uniformly set text font style in html layout
This article mainly introduces html layout how to set the text font style related knowledge, detailed and easy to understand, simple and fast operation, has a certain reference value, I believe everyone read this html layout how to set the text font style unified article will have some harvest, let's take a look at it.
Structure will generally compete with the configuration of the entire web page font, prevent differences between browsers revealed different default fonts, and set the configuration font css attribute word font-family, although in the entire web page organization does not intend to use a small piece of different fonts, this time still use font-family to set up a new font for this configuration.
1, the structure is the opposite set of ink font code:
body{font-family:"bold"}
Web page fonts can be configured uniformly for bold.
2. Change the font
When configuring different fonts for important parts, add a font-family font color to the corresponding resolver:
. boxes {font-family:"Microsoft Elegant Black"} are font for Microsoft Elegant Black
3, a broken representative rotation to change the font instance code
Change font css5.com.cnbody{ font-family:"Song"}.box{ font-family:"Bold"}
Default settings Equipment settings
acquiescence, twist, bold
Default settings
The above code may duplicate reality mastery.
4. Screenshots
About "html layout how to unify the text font style" the content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of the knowledge of "how to uniformly set text font style in html layout." If you still want to learn more knowledge, please pay attention to the industry information channel.