tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

css3-modsel-31.xml (1406B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4  <title>:nth-last-of-type() pseudo-class</title>
      5  <style type="text/css"><![CDATA[.red { background-color : red }
      6 p:nth-last-of-type(3) { background-color : lime }
      7 dl > :nth-last-of-type(3n+1) { background-color : lime }
      8 ]]></style>
      9  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
     10  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
     11 </head>
     12 <body>
     13 <p class="red">This paragraph should have green background</p>
     14 <address>But this address is here only to fill space in the dom..</address>
     15 <p>So does this paragraph !</p>
     16 <p>And so does this one too.</p>
     17 <dl>
     18  <dt>First definition term</dt>
     19    <dd>First definition</dd>
     20  <dt>Second definition term</dt>
     21    <dd>Second definition</dd>
     22  <dt class="red">Third definition term that should have green background</dt>
     23    <dd class="red">Third definition that should have green background</dd>
     24  <dt>Fourth definition term</dt>
     25    <dd>Fourth definition</dd>
     26  <dt>Fifth definition term</dt>
     27    <dd>Fifth definition</dd>
     28  <dt class="red">Sixth definition term that should have green background</dt>
     29    <dd class="red">Sixth definition that should have green background</dd>
     30 </dl>
     31 </body>
     32 </html>