summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scroll-snap/snap-after-initial-layout/snap-after-initial-layout-ref.html
blob: c8009b626cb63ebcef4a211f8b61249faf36c72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<title>Reference</title>
<style>
div {
  margin: 0;
  position: absolute;
}

#target {
  width: 300px;
  height: 300px;
  top: 0;
  left: 200px;
  background-color: green;
}
</style>

<div>
  <div id="target"></div>
</div>