| <!DOCTYPE html> | |
| <title>View transitions: display content in a pseudo with proper scaling (ref)</title> | |
| <link rel="help" href="https://github.com/WICG/view-transitions"> | |
| <link rel="author" href="mailto:[email protected]"> | |
| <style> | |
| .inner { | |
| position: absolute; | |
| inset: 4px; | |
| background: green; | |
| } | |
| .dst { | |
| position: relative; | |
| width: 100px; | |
| height: 100px; | |
| border: 1px solid blue; | |
| box-sizing: border-box; | |
| } | |
| body { background: lightpink; } | |
| </style> | |
| <div class=dst><div class=inner></div></div> |