1. Margin margin
Abbreviated form:
Margin: Top margin right margin bottom margin left margin
Margin: top and bottom margin, left and right margin
Margin: Top margin, left and right margin, bottom margin
2. Internal margin padding
Abbreviated form:
padding: Top margin right margin bottom margin left margin
padding: Bottom margin and left and right margin
padding: Top margin left and right margin bottom margin
3. Transparency Opacity:number
Number value is a decimal between 0.0-1.0
Border Style
1. Border line
Border-top-style setting the top border line
Border-bottom-style setting the bottom border line
Border-left-style set left border line
Border-right-style set the right border line
2. Border Width border-width
Border-top-width Setting the top border width
Border-bottom-width Setting the bottom border width
Border-left-width setting the left border width
Border-right-width Setting the right border width
3. Border Color Border-color
Border0-top-color setting the top border color
Border-bottom-color Setting the bottom border color
Border-left-color setting to make border color
Border-right-color set the right border color
4. Border Style abbreviation border-width| | border-style| | Border-color
div{ width:300px; height:100px; Border-style:solid; border-width:1px; Border-color: #FF0000; }
After abbreviation:
div{ width:300px; height:100px; border:1px solid #FF0000;}
5. Fillet effect
Round: border-radius:50%
CSS. element style, border style