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