tor-browser

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

transform-clip-001.html (782B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <title>CSS transforms and clipping</title>
      4 <link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
      5 <link rel=author href="https://mozilla.org" title="Mozilla">
      6 <link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1799216">
      7 <link rel=help href="https://drafts.csswg.org/css-transforms/">
      8 <link rel=match href="transform-clip-001-ref.html">
      9 <style>
     10  body { margin: 0 }
     11 </style>
     12 <div style="overflow: clip; width: 200px; height: 200px; transform: translate(10px, 10px)">
     13  <div style="overflow: clip; pointer-events: none; width: 200px; height: 200px; transform: translate(0px, -190px)">
     14    <div style="background: blue; width: 200px; height: 200px; transform: translate(0px, 190px);"></div>
     15  </div>
     16 </div>