The CSS syntax

format:

Selector {
    1 property name: property value 1;
    Name Attribute 2: 2 attribute value;
    ...
}

For example:

1, select the div tag, the tag inside the font color changed to navy blue

2, p select tag, the tag inside a dark red font color modification

 

          

Guess you like

Origin www.cnblogs.com/liyihua/p/12364905.html
Recommended