summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/fractional-box-ref.html
blob: e5fb0f80d915242b7cbd5963f6efa5084be15675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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>