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
characters, so it is also rejected. Px is based on the resolution of the current display device. The actual size of the same px corresponds to different devices, such as the screen or paper.Therefore, in my opinion, if the webpage should have the length of the absolute frame of reference, pt and px should be the first choice, and other lengths will change according to the percentage or em of the absolute frame of reference.Next we will talk about the differences between
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
Font usage is an indispensable part of web design. Often, we want to use a specific font on a webpage, but this font is not a built-in font of the non-mainstream operating system, so that users may not see the real design when browsing the page. The most common way for art d
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
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
: This article mainly introduces the spam Wordpress, which always references the Web font files on fonts.googleapis.com. if you are interested in the PHP Tutorial, please refer to it. Search in the code directory with Editplus,
Comment out all references:
"C: \ xampp-1.8.3 \ htdocs \ wordpress-4.0 \ wp-uplodes \ js \ tinymce \ plugins \ compat3x \ css \ dialog.css ):
@ Import url (// fonts.googleapis.c
Search in the code directory with EditPlus,Comment out all references:"C:\xampp-1.8.3\htdocs\wordpress-4.0\wp-includes\js\tinymce\plugins\compat3x\css\dialog.css" (1,21):@import URL (//fonts.googleapis.com/css?family=open+sans:300italic,400italic,600italic,300,400,600subset= Latin-ext,latin);Comment out this line with/**/"C:\xampp-1.8.3\htdocs\wordpress-4.0\wp-includes\script-loader.php" (603,34):$open _sans_font_url = "//fonts.googleapis.com/css?fami
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.