fractional-box-with-shadow-ref.html (494B)
1 <!DOCTYPE html> 2 <title>View transitions: fractional box with shadow -- 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 box-shadow: -2px -3px 0 7px darkgreen; 8 margin: 15px; 9 background: green; 10 width: 100.125px; 11 height: 50.875px; 12 } 13 .shift { 14 position: relative; 15 left: 0.4px; 16 } 17 body { background: lightpink } 18 </style> 19 <div class="box"></div> 20 <div class="box shift"></div>