Use of borders in 16.1css
Property:
Border-color Hex Top, right, bottom, left line color
English name border-color:red;
Three primary colors (four sides of red)
Border-color:red Green;
(Up and down red, green around)
Border-color:red Green Blue;
(Upper red, green around, Lower blue)
Border-color:red Green blue yellow;
(Upper Red, right green, Lower blue, Zhouhuang)
Border-style None Show edges
Dotted dot Line
Dashed dashed line
Solid Solid Line
Double Two-wire
Border-width length border-width:0.2cm 0.3cm 0.4cm 0.5cm;
Border-width:1 2 3 4;
Simplification: border: Length shape color
Use of boundaries in 16.2css
Property:
Padding-bottom Length/percent on
Padding-left Length/percent left
Padding-bottom Length/percent element right side edge gap
Padding-top Length/percent upper
Simple wording: padding:10px
padding:2px 4px
padding:2px 6px 10px
padding:1px 2px 3px 4px
Margin series properties are described in:
Margin-bottom Auto Adjust voids automatically
Length/percentage Set lower gap
Margin-left Auto Adjust voids automatically
Length/percentage left end
Margin-right Auto .....
...... Right
Margin-top Auto .....
...... On
Simplified: margin:2px 4px
margin:2px 6px 10px
margin:1px 2px 3px 4px
Common page shelf settings: margin:0
Gbelxrjzc6yq
Borders and margins