css| Skills | website | optimization
Optimization Code: web page Technology CSS font properties of the abbreviation of the skills, abbreviations to reduce the code, optimize the CSS to make it more reasonable.
The CSS Font property is used to control text font, color, size, and so on. There are a variety of
1. The priority description is not rigorous, when there is!important, the page style can override the user-defined style. User!important > Web!important > User > Page > Browser default.
2. Tahoma font from Win95, and starting from Win2000, Tahoma become the default font for Win English system. The built-in Tahoma fonts are also started in Mac OS X v10.5 (Leopard
Arial, Helvetica, Sans-serif
th Is was a heading This was a paragraph
Arial Black, Gadget, Sans-serif
This is a hea Ding This was a paragraph
"Comic Sans MS", cursive, Sans-serif
This is a headingthis is a paragraph
Impact, charcoal, Sans-serif
This is a heading The is a par Agraph
"Lucida Sans Unicode", "Lucida Grande", Sans-serif
This was a he
Helvetica font used for the main content, a non-lined, slippery, open font.
Quick decision on font selection in web designLooking at so many good examples above, in the future you should choose font to be more handy. But why do
The following font definition method is recommended for web standards:
Body {font-family: "lucida Grande", verdana, lucida, Arial, Helvetica,, sans-serif ;}
* The font is selected in the listed order. If your computer contains the lucida Grande
Web standards recommend the following font definition methods:
Body {font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, XXFarEastFont-Franklin, Sans-serif;
* Fonts are selected in the order listed. If the user's computer contains Lucida Grande fonts, the document is specified as Lucida Grande. If
value of the browser with some pleasant and reasonable spacing. By default, this plug-in supports Arial, Georgia, Helvetica, Times, And Verdana. You can also modify some places to support other fonts.
Kerning. js
Although the plug-in name is Kerning, this plug-in does not only control the padding. It can also adjust its body size, color, and deformation in units of letters to create a variety of beautiful effects. In addition, it only controls CSS a
The Web Standard recommends the following font definition methods:
Body {font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, song Body, Sans-serif;}
* Fonts are selected in the order listed. If the user's computer contains Lucida Grande fonts, the document will be designated as Lucida Grande. If not, i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.