tor-browser

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

css3-modsel-30.xml (1382B)


      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-of-type() pseudo-class</title>
      5  <style type="text/css"><![CDATA[.red { background-color : red }
      6 p:nth-of-type(3) { background-color : lime }
      7 dl > :nth-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>This paragraph is here only to fill space in the DOM</p>
     14 <address>And this address too..</address>
     15 <p>So does this paragraph !</p>
     16 <p class="red">But this one should have green background</p>
     17 <dl>
     18  <dt class="red">First definition term that should have green background</dt>
     19    <dd class="red">First definition that should have green background</dd>
     20  <dt>Second definition term</dt>
     21    <dd>Second definition</dd>
     22  <dt>Third definition term</dt>
     23    <dd>Third definition</dd>
     24  <dt class="red">Fourth definition term that should have green background</dt>
     25    <dd class="red">Fourth definition that should have green background</dd>
     26  <dt>Fifth definition term</dt>
     27    <dd>Fifth definition</dd>
     28  <dt>Sixth definition term</dt>
     29    <dd>Sixth definition</dd>
     30 </dl>
     31 </body>
     32 </html>