CSS 3 Module <== Test # ==>
W3C Selectors 64 of 182
Testing Date Revision
Child combinator (ID #44) 2004-02-29 1.2

This paragraph should have a green background

This paragraph should have a green background

This paragraph should be unstyled.

.white { backround-color: transparent ! important; }
.red { background-color: red; }
div > p.test { background-color: lime; }
 <div>
  <p class="red test">This paragraph should have a green background</p>
  <div>
   <p class="red test">This paragraph should have a green background</p>
  </div>
 </div>
 <table>
  <tbody>
   <tr>
    <td>
     <p class="white test">This paragraph should be unstyled.</p>
    </td>
   </tr>
  </tbody>
 </table>