abbreviated as: Border: 1px solid #000; Syntax: Border: width style color;
Background (backgrounds)
The attributes of the background are as follows:
Background-color: # f00; Background-image: url(background.gif); background-repeat: No-Repeat; Background-Attachment: fixed; Background-position: 0 0; can be abbreviated as one sentence: background: # f00 url(background.gif) No-repeat fixed 0 0; Syntax: Background: Color Image repeat attachment position; you can omit one or more attribut
abbreviated as border: 1px solid #000;Syntax: border: width style color;Background (Backgrounds)The attributes of the background are as follows:• Background-color: # f00;• Background-image: url(background.gif );• Background-repeat: no-repeat;• Background-attachment: fixed;• Background-position: 0 0;It can be abbreviated as: background: # f00 url(background.gif) no-repeat fixed 0 0;The syntax is background: color image repeat attachment position;You can omit one or more
style color;Background (Backgrounds)The attributes of the background are as follows:Background-color: # f00;Background-image: url(background.gif );Background-repeat: no-repeat;Background-attachment: fixed;Background-position: 0 0;It can be abbreviated as: background: # f00 url(background.gif) no-repeat fixed 0 0;The syntax is background: color image repeat attachment position;You can omit one or more attribute values. If this attribute value is omitted, the default value of the browser is used.
VousiuSource: Http://www.cnblogs.com/vousiuThis example refers to the book "node. js in action" from Mike Cantelon and others.Index.htmlStyle.cssBody{padding:50px;Font:14px "Lucida Grande", Helvetica, Arial, Sans-serif;}a{Color:#00B7FF;}#content{width:800px;Margin-left:Auto;Margin-right:Auto;}#room{Background-color:#ddd;Margin-bottom:Lem;}#messages{width:690px;Height:300px;Overflow:Auto;Background-color:#ee
solid #000;The grammar is border:width style color;Background (backgrounds)The properties of the background are as follows:
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated as a sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;The syntax is background:color image repeat attachment position;You can omit one or more of the property values, and if omitted, t
:
123
border-width:1px;border-style:solid;border-color:#000;
can be abbreviated as a sentence:
1
border:1pxsolid#000;
Syntax border:width style color;Iii. Background (backgrounds)The properties of the background are as follows:
12345
background-color:#f00;background-image:url(background.gif);background-repeat:no-repeat;background-attachment:fixed;background-position:00;
can be abbreviated as a sentenc
solid #000;The grammar is border:width style color;Background (backgrounds)The properties of the background are as follows:
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated as a sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;The syntax is background:color image repeat attachment position;You can omit one or more of the property values, and if omitted,
CKEditor Ckfinder Integrated PHP
Configure Ckeditor/config.js
Config.font_names = ' song body; italics _gb2312; new song body; bold; official script; Young circle; Microsoft Jas Black; Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana; " Lucida Sans Unicode "," Lucida Grande
CKEditor Ckfinder Integrated PHP
Configure Ckeditor/config.js
Config.font_names = ' song body; italics _gb2312; new song body; bold; official script; Young circle; Microsoft Jas Black; Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana; " Lucida Sans Unicode "," Lucida Grande
here.margin:1px 2px 1px 3px; Second, border (border)The properties of the border are as follows:border-width:1px; Border-style:solid; Border-color:#;can be abbreviated as a sentence:border:1px solid #;Syntax border:width style color; Iii. Background (backgrounds)The properties of the background are as follows:background-color: #f00; Background-image:url (background.gif); Background-repeat:no-repeat; Background-attachment:fixed; Background-position:00;can be abbreviated as a sentence:fixed 0
abbreviated here. margin:1px 2px 1px 3px; Second, border (border)The properties of the border are as follows:Border-width:1px;border-style:solid;border-color: #000;can be abbreviated as a sentence:Syntax border:width style color;border:1px solid #000; Iii. Background (backgrounds)The properties of the background are as follows:Background-color: #f00; Background-image:url (background.gif); Background-repeat:no-repeat;background-attachment: fixed;background-position:0 0;can be abbreviated as a s
is a diagram of our CSS form structure:
I used the Copy and paste the following code into the
body{ font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, Sans-serif; Font-size:12 px } P, H1, form, button{border:0; margin:0; padding:0;} . Spacer{clear:both; height:1px;} /* ——— Manila F
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations are as follows:
Color
16 color value, if the value of each two digits is the same, you can abbreviate half, for example: #000000可以缩写为 #000; #336699可以缩写为 #369; #f2f2f2是不可以缩写的
Border of the box model
border-width:1px;
Border-style:solid;
Border-color: #000;
can be abbreviated as a sentence:
border:1px solid #000;
Grammar is border:width style color;
Border and p
-color: #000;
can be abbreviated as a sentence: border:1px solid #000;The grammar is border:width style color;background (backgrounds)The properties of the background are as follows:
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated as a sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;The syntax is background:color image repeat attachment position;You
This is a very simple application, but in the design, this can reduce the pressure on the server, is a reduction in the number of requests, is a good way.
In particular, in this small picture, even if the two pictures in fact, the response time is not much slower, but there is a problem, that is, two pictures alternately prone to the background picture from the new load and lead to a period of time does not show the effect. (The length of time varies depending on the response speed of the server
: border:1px solid #000;
Grammar is border:width style color;
Background (backgrounds)
The properties of the background are as follows:
Background-color: #f00;
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated to one sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;
The grammar is background:color image repeat attachment position;
You can omit one or more of the p
define the body style of the entire page, the code is as follows:
body {margin:0px;padding:0px;Background:url (.. /images/bg_logo.gif) #FEFEFE no-repeat right bottom;font-family: ' Lucida Grande ', ' Lucida Sans Unicode ', ' XXFarEastFont-Arial ', ' Neo-Arial ', Arial,verdana,sans-serif;COLOR: #666;font-size:12px;line
abbreviated as one sentence: border:1px solid #000;
Grammar is border:width style color;
Background (backgrounds)
The properties of the background are as follows:
Background-color: #f00;
Background-image:url (background.gif);
Background-repeat:no-repeat;
background-attachment:fixed;
background-position:0 0;
can be abbreviated to one sentence: background: #f00 URL (background.gif) no-repeat fixed 0 0;
The grammar is background:color image repeat attachment position;
You ca
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.