CSS 3 Module <== Test # ==>
W3C Selectors 65 of 182
Testing Date Revision
Child combinator (ID #44b) 2001-11-05 1.1

This paragraph should be unstyled.

This paragraph should be unstyled.

This paragraph should have a green background.

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