Font
Set font: {Fon-family:sans-serif;}
Font bold: {fon-weight:600;} 600 equals one strong
Font size: {fon-size:14px;}
Connection A
A:link{color:red: The connection that was not accessed is red
A:visited{color:red: The connection that has been accessed is red
A:hover{color:red, the mouse moves to the connection is red
a:active{color:red; The connection being clicked is red
{Text-decoration:none;} Remove the Underline
{background-color:red} background color is red
List
Sequence LIST: OL
Unordered LIST: UL
Black dots for PICTURES: ul li{background:url ("Heder.jpg");}
Remove black dots: {list-style-type:none;}
Table Border Blue: td{border:1px solid Blue}
Text alignment: Td{text-align:right;}
Inner margin: {padding:10px;}
margin: {margin-10px;}
Positioning
Relative positioning: {position:relative;} out of the text stream, but retains its original position without being occupied
Absolute positioning: {position:absolute;} is removed from the text stream and does not retain its original location
Floating: {float:left;} Left floating (right floating: starboard) floating after converting row level
Border
Border Outcine The former to occupy the width is also to affect the layout is not recommended, the latter does not occupy the width does not affect the layout, we recommend the use of the latter
{border:solid;} solid Line
{border:dashed;} dashed line
{border:dotted;} dot Line
{border:double;} double Line
{border-radius:20px} fillet border
{box-shadow:10px 10px 5px red;} Right down 10px long shadow, 5px is the width of the shadow
CSS (2)