<!DOCTYPE html>
<title>View transitions: fractional box with shadow -- reference</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:[email protected]">
<style>
.box {
box-shadow: -2px -3px 0 7px darkgreen;
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>