| <csstest def="More than one class selector" module="W3C Selectors" modulename="css3-modsel" number="14c" rev="1.0" date="6-december-2002" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Ian Hickson</author> |
| |
| <cssrules> |
| p { background: red; color: yellow; } |
| p.t1.t2 { background: green; color: white; } |
| div { background: green; color: white; } |
| div.t1 { background: red; color: yellow; } |
| address { background: red; color: yellow; } |
| address.t5.t5 { background: green; color: white; } |
| </cssrules> |
| |
| <code> |
| <p class="t1 t2" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p> |
| <div class="t3" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</div> |
| <address class="t4 t5 t6" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</address> |
| </code> |
| |
| </csstest> |