First, List
Mainly divided into sequential table ol, no sequence list ul
<ul>
<li></li>
... ..
</ul>
<ol>
<li></li>
...
</ol>
The main format for this is the above. Its properties are
The List-style shorthand property. Used to set all properties used for the list in a declaration.
List-style-image Sets the image to the list item flag.
List-style-position Sets the position of the list item flags in the list.
List-style-type Sets the type of the list item flag.
Second, box model
The main structure of the box model is composed of these parts.
Where the margin property is
Margin shorthand property. Set all margin properties in a declaration.
Margin-bottom sets the bottom margin of the element.
Margin-left sets the left margin of the element.
Margin-right sets the right margin of the element.
Margin-top sets the top margin of the element.
The properties of the padding are:
The padding shorthand property. The effect is to set the inner margin property of an element in a declaration.
Padding-bottom sets the bottom padding of the element.
Padding-left sets the left padding of the element.
Padding-right sets the right padding for the element.
Padding-top sets the top padding of an element.
CSS Style Basics II