tor-browser

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

hover-selector-003.xht (1047B)


      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" lang="en">
      3  <head>
      4   <title>CSS Test: :hover and font-weight</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/hover/002.html" type="text/html"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes" />
      8   <meta name="flags" content="interact"/>
      9   <style type="text/css">
     10    p { color: blue; }
     11    p + p { text-align: center; }
     12    .serif { font: 1em serif; }
     13    .sansSerif { font: 1em sans-serif; }
     14    .monospace { font: 1em monospace; }
     15    .test:hover { font-weight: bold; }
     16   </style>
     17  </head>
     18  <body>
     19   <p>When you hover over these lines they should go bold:</p>
     20   <p>| <span class="serif test">test test</span> |</p>
     21   <p>| <span class="sansSerif test">test test</span> |</p>
     22   <p>| <span class="monospace test">test test</span> |</p>
     23  </body>
     24 </html>