tor-browser

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

caret-color-01-ref.html (365B)


      1 <!DOCTYPE html>
      2 <style>
      3 @font-face {
      4  font-family: Ahem;
      5  src: url(../fonts/Ahem.ttf);
      6 }
      7 div {
      8  font: 16px/1 Ahem;
      9  width: 1em;
     10  background: green;
     11 }
     12 </style>
     13 <div><span>&nbsp;</span></div>
     14 <script>
     15 let $div = document.querySelector('div');
     16 let $span = document.querySelector('span');
     17 $div.style.height = $span.getBoundingClientRect().height + 'px';
     18 </script>