new-content-scaling-ref.html (510B)
1 <!DOCTYPE html> 2 <title>View transitions: display content in a pseudo with proper scaling (ref)</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 .inner { 7 position: absolute; 8 inset: 4px; 9 background: green; 10 } 11 .dst { 12 position: relative; 13 width: 100px; 14 height: 100px; 15 border: 1px solid blue; 16 box-sizing: border-box; 17 } 18 body { background: lightpink; } 19 </style> 20 21 <div class=dst><div class=inner></div></div>