cssW3c writing specifications

Writing specifications : {
 1, selectors must be space between the name and braces {({P})
 2, and then the property name: no spaces between: a space between the attribute value must be (
 P {font-size: 20px;})
 . 3, and each selector collector declaration selector must be on a separate line.
 4, the nested selector should be less than three, should be as a little more accurate description language (
 Good: {Li} .nav UL
 Bad: .nav .note UL Li div span {A}
 )
 . 5, the attribute the definition must be on a separate line
 6, the definition of property must end with good points

}

To be continued. . . .

Guess you like

Origin www.cnblogs.com/codeByWei/p/11943030.html