Type your
HTML
here:
(scripts and custom event handlers are not allowed)
<h1>Shopping list</h1> <ul> <li>Party supplies <ul> <li>Inflatable palm trees</li> <li>Straws and swizzle sticks</li> <li>Pineapples</li> </ul> </li> <li>Booze <ul> <li>Pina coladas</li> <li>Beer</li> <li>Cider</li> </ul> </li> <li>Treasure <ol> <li>Chocolate</li> <li>Silver</li> <li>Gold</li> </ol> </li> </ul>
Type any
CSS
you want here:
(any properties allowed except expression, behavior and @import)
/* here's descendantselector in action */ ul li { color:#090; } ul * li { color:#900; font-style:italic; } ul ol li { color:#009; font-weight:bold; }
Show me!
Your results appear here: