CSS Getting REVIEW

What is css

css is adjusted label style
<Cascading Style Sheets>


css comments:

/ * One-way * / 
/ * 
multi-line comment 
multi-line comments 
* /

 

Common wording:

/ * Start the top navigation bar * /
/ * code * /
/ * * the top navigation bar end /

 

The grammatical structure of css

Selector {Attribute 1: Value; Attribute 2: value; 3 Attribute: Value}

   

 

 

 


Three kinds of reference css

 

1: file import of formula (most canonical form)
<Link the rel = "this stylesheet" the href = "mycss.css">
2: head using the style tag, write directly inside CSS
. 3: inline type, (the least recommended) write directly in the label

 

Guess you like

Origin www.cnblogs.com/pscly/p/11459268.html