fractional-box-ref.html (441B)
1 <!DOCTYPE html> 2 <title>View transitions: fractional box -- reference</title> 3 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> 4 <link rel="author" href="mailto:vmpstr@chromium.org"> 5 <style> 6 .box { 7 margin: 15px; 8 background: green; 9 width: 100.125px; 10 height: 50.875px; 11 } 12 .shift { 13 position: relative; 14 left: 0.4px; 15 } 16 body { background: lightpink } 17 </style> 18 <div class="box"></div> 19 <div class="box shift"></div>