Learn css

css means Cascading Style Sheets (Cascading Style Sheets)

1, how to define the style display HTML elements

2, the pattern is typically stored in a stylesheet

      Add style to HTML4.0 in order to solve the problem of the separation of content and presentation

      External style sheet can greatly improve efficiency

      It is typically stored in an external style sheet css file

      A plurality of styles may be defined as a laminate

 

css location

1, inline style

 

 2, inline style

 

 3, external style

 

 

css code structure is what?

css syntax

Selector {
    Property name: property value;
    ...
}

Guess you like

Origin www.cnblogs.com/crazier/p/12075642.html