title: Apply CSS conditionally to last list item without JavaScript
body: <p>Say you have a list of items:</p>
  
  <pre><code>&lt;li&gt;abc&lt;/li&gt;
  &lt;li&gt;efg&lt;/li&gt;
  &lt;li&gt;hij&lt;/li&gt;
  </code></pre>
  
  <p>You want the last item to be red, but only if there is more than one <code>&lt;li&gt;</code>, is that possible without JavaScript?</p>