CSS: cascading tables to beautify pages, define how HTML elements are displayed, and make HTML code display more concise and straightforward.
CSS categories: 1. Inline: Written in the label, in the form of attributes, the property name is the style, the highest priority level. (not recommended, cause code looks messy)
2. Embedded: Written in the head tag, in the form of a label (signature style),
3. External: Written in tag head, label name Link (<link rel= "stylesheet" href= "" >)
CSS Selector (applies the found element or label to the element or label as specified in the selector):
/ * * Selects all elements in the selector padding defines the inner margin of the element, the upper right-left order can be any unit of percentage length, no negative margin defines an empty area of the element's border, that is, margin, which can be any unit of percent length, can have negative values, A common practice is to set a margin length value of */*{ padding:10px 15px 5px 20px; margin: 10% Auto}
1.id selector, depending on the attribute value of the ID to find the element (notation: #id的属性值, because the ID is unique, so only one element can be found)
2.class class selector, based on the attribute value of class to find the element (notation:. Class Property value, you can find one or more elements of the same class property value)
CSS First Contact