| <!DOCTYPE html> | |
| <title>View transitions: fractional box -- reference</title> | |
| <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> | |
| <link rel="author" href="mailto:vmpstr@chromium.org"> | |
| <style> | |
| .box { | |
| margin: 15px; | |
| background: green; | |
| width: 100.125px; | |
| height: 50.875px; | |
| } | |
| .shift { | |
| position: relative; | |
| left: 0.4px; | |
| } | |
| body { background: lightpink } | |
| </style> | |
| <div class="box"></div> | |
| <div class="box shift"></div> |