Common CSS code

Source: Internet
Author: User

=========== Common CSSCode==============

Font color: Color: # 00903a;
Background Color: Background-color: #7cffe7;

--------------------------------------------------------------------------------

Border Width: border-width: 5px;
Top width: border-top-width: 5px;
Left width: border-left-width: 5px;
Right width: border-right-width: 5px;
Bottom Side width: border-bottom-width: 5px;

--------------------------------------------------------------------------------

Border color: border-color: #000ff4;
Top color: border-top-color: #10ff01;
Left color: border-left-color: # ff3b04;
Right color: border-right-color: # ff3cf3;
Background Color: border-bottom-color: #00d0c3;

--------------------------------------------------------------------------------

Border style: border-style: Double; replaceable dashed; dotted; none;
Top style: border-top-style: solid;
Left style: border-left-style: inset;
Style on the right: border-right-style: Ridge;
Bottom Side style: border-bottom-style: solid;

--------------------------------------------------------------------------------
 
Overall width: 5px;
Overall height: Height: 5px;
Overflow options: overflow: visible; can replace hidden; scroll; Auto;

--------------------------------------------------------------------------------
 
Inner margin: padding: 5px;
Top padding: padding-top: 5px;
Left padding: padding-left: 5px;
Right padding: padding-Right: 5px;
Bottom padding: padding-bottom: 5px;

--------------------------------------------------------------------------------
 
Outer margin: 5px;
Top margin: margin-top: 5px;
Left margin: margin-left: 5px;
Right margin: margin-Right: 5px;
Bottom margin: margin-bottom: 5px;

--------------------------------------------------------------------------------
 
Text font: font-family: fantasy;
Text Size: font-size: 12pt;
Text width: font-weight: bold;
Text style: font-style: italic;
Text variable: Line-Height: 110%;

trim
clear attribute: clear: Left; can replace right; both; none;
floating attribute: float: Left; can replace right; none;
horizontal arrangement: Text-align: Left; can replace right; center; justify;
text modifier: Text-Decoration: underline; can replace overline; underline overline; line-through; blink;
text indent: Text-indent: 5em;
text Spacing: letter-Spacing: 5px;
letter Spacing: word-Spacing: 5px;
text conversion: Text-transform: Capitalize; replace lowercase; uppercase;
vertical arrangement: vertical-align: baseline; replace top; middle; bottom; text-top; text-bottom; Super; sub; 3em; 30%;

background
background image: Background-image: url(tianyi.gif);
background stretch: Background-repeat: Repeat; repeat-X can be replaced; repeat-y; no-Repeat;
background positioning: Background-position: Left; can be replaced by right; top; left top; right bottom; 30% 50%;
additional attributes: Background-Attachment: fixed; replace scroll.

--------------------------------------------------------------------------------
 
Display attribute: Display: none; replaceable block; inline; run-in; compact; List-item; marker;
Visible: visibility: visible; can be replaced by hidden;
Resource positioning: Position: static; can replace relative; absolute; fixed;
Distance from top: Top: 5px;
Left: 5px;
Right: 5px;
Bottom edge: Bottom: 5px;
Priority: Z-index: 5;
Mouse pointer: cursor: crosshair; can replace default; pointer; move; text; wait; help; n-resize; s-resize; W-resize; e-resize; ne-resize; NW-resize; se-resize; Sw-resize;

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.