| CSS 3 Module | <== Test # ==> | |
|---|---|---|
| W3C Selectors | 14 of 156 | |
| Testing | Date | Revision |
| More than one class selector (ID #14) | 11-july-2001 | 1.0 |
This paragraph should have white background and a green thick solid border because it carries both classes t1 and t2
p { background-color : red ; border : thick solid red ; padding : 1em }
p.t1 { background-color : white }
p.t2 { border : thick solid lime }
<p class="t1 t2">This paragraph should have white background and a green thick solid
border because it carries both classes t1 and t2</p>