I. Background and PROSPECTS
1.background Properties
background-color--background Color
Background-image:url ()--the path of the background image is to be written in the URL () .
background-attachment:fixed--The background map is fixed, the character movement diagram does not move. Scroll--The background scrolls with the word, default.
background-repeat:repeat--Tile no-repeat--Uneven paving repeat-x--tile horizontally repeat-y--portrait tile.
background-position:top--top right--Right margin bottom,left, pixels
Font-family: Font name (Microsoft Ya hei, Arial)
Font-size: Pixels (12px,14px,18px), 2.5em,200%
Font-weight: Whether it is bold or not. Bold,normal
Font-style: whether to tilt. Italic,normal
Color
Text-decoration:none,underline,overline,line-through
Text-align:left,center,right
Vertical-align:top,middle,bottom
Text-indent: First Line Indent
Line-height: Line height 1.5-twice times the font size
Ii. borders and Borders
1.border class:
2.margin class:
3.padding class:
Third, list and block
1.width,height, (Left,top,right,bottom) available only when absolutely positioned
2.list-style-type,list-style-image,list-style-position
Iv. format and layout
1.position:fixed,absolute,relative
2.z-index:
3.overflow: Out of range; scroll-out scroll bar; hidden-hidden
4.float: Floating direction.
5.clear:both;
CSS Web page Landscaping design Properties