tor-browser

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

inline-with-offset-from-containing-block-ref.html (580B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>View transitions: inline with offset from containing block (ref)</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
      5 <link rel="author" href="mailto:khushalsagar@chromium.org">
      6 
      7 <style>
      8  :root {
      9    scrollbar-width: none;
     10  }
     11  .outer {
     12    transform: scale3d(2, 2, 1);
     13    width: 100vw;
     14    text-align: center;
     15  }
     16  .inner {
     17    transform: translate(10px);
     18    padding: 10px;
     19    border: 10px solid black;
     20  }
     21  body {
     22    background: pink;
     23  }
     24 </style>
     25 
     26 <div class="outer">
     27  <a class="inner">Some text</a>
     28 </div>