Front end CSS

CSS (Cascading Style Sheet): defines how to display HTML elements CSS selection Basic selector Element selector p< /span>{color:”red”;} ID selector #i1{
background-color:red;
} Class select

CSS_ 中 中

Centering in CSS can be divided into Horizontal Center and Vertical Center. Horizontal centering can be divided into two cases: in-line element centered and block element centered, while block elem

Common CSS RESET

1, Eric Meyer’s “Reset CSS” 2.0

1 /**
2 * Eric Meyer’s Reset CSS v2.0 (http: //meyerweb.com/eric/tools/css/reset/)
3 * http://cssreset.com
4 */
5 html, body, div, span, applet, object

CSS selector

8. CSS selector 8.1. Tag selector
Function: Set the style for a certain tag specified on the page.
Code:
Label name{
Attribute name 1: Attribute value 2;
Attribute name 2: Attribute value 2;