tor-browser

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

nested-position-with-border-ref.html (604B)


      1 <!doctype html>
      2 <title>Nested View Transitions: nested position with borders (ref)</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-2/">
      4 
      5 <style>
      6 body {
      7  background: pink;
      8 }
      9 #clipper {
     10  view-transition-group: contain;
     11  view-transition-name: clipper;
     12 
     13  border-width: 6px 10px 16px 20px;
     14  border-style: solid;
     15  border-color: green;
     16 
     17  height: 200px;
     18  width: 200px;
     19 }
     20 
     21 .item {
     22  view-transition-name: item;
     23  background: blue;
     24  position: relative;
     25 
     26  width: 100px;
     27  height: 100px;
     28  border: 1px solid black;
     29 }
     30 
     31 </style>
     32 
     33 <div id=clipper>
     34  <div class=item></div>
     35 </div>