Current location - Quotes Website - Team slogan - Taobao navigation eye-catching single classification color css code
Taobao navigation eye-catching single classification color css code
The main idea is that you can set another class with the font red, and then add an attribute name before the statement tag that needs to turn red; such as

There are two properties at the same time

& lthtml & gt

& lthead & gt

& lt/head & gt;

& ltbody & gt

& ltstyle type="text/css " >

. box { background-color:# c9cec 8; Width: 420px Height: 50px Margin: 0 Automatic; Top of border: 2px solid # 353736}

. Content {height: 32px background color: 606F76 border: 1px solid # 7697AA}

. content span { margin-right: 18px; }

. Normal {color: white; Floating: left; Display: block; Line height: 30pxfont-size:13px; Font thickness: bold; }

. Special {color: pink; }

& lt/style & gt;

& ltdiv class="box " >

& ltdiv class="content " >

& ltspan class="normal "> All the goods in our store.

< span class = "normal" > location of icon

& ltspan class="normal "> home page

& ltspan class="normal special "> Double Eleven Carnival

& lt/div & gt;

& lt/div & gt;

& lt/body & gt;

& lt/html & gt;