Home > front end >  Novice web
Novice web

Time:10-26

The font the general style color not line? And lead to shoulder after  style also failed, how should be, what order

CodePudding user response:

P1 give class=p1 label content change style
# p2 to id=p2 label content change style
Also can pass tag selectors like body {} to change the style of the content of body area

CodePudding user response:

There is not color style in the font style, color style you write out alone, in addition the font, color:... What the devil, the font:; Color:; such

CodePudding user response:

P {
The font, the font - style (style) the font - variant (with) the font - weight (thickness), the font size/line - height (size/high) the font-family (font);
Color: color
}
//the font size and the font-family values are required, other can be ignored

CodePudding user response:

With CSS color set the font color is better, if you need to set up general general color can, set up in the body or HTML

For example:

Body {
Color: # 000
}

The {
Color: # FFF
}

CodePudding user response:

Very thank you for your guidance, I see thank you thank you

CodePudding user response:

P1 {
The font, the font style the font - variant font weight the font size/line - height the font-family;
Color: red;
}
  • Related