summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scroll-snap/scroll-snap-root-002-ref.html
blob: 663b02b8c420593deda9634d47d44aa45a8596e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<title>CSS Scroll Snap Reference</title>

<style type='text/css'>
html, body { margin: 0; padding: 0; }

#target {
  border-bottom: solid orange thick;
  position: absolute;
  bottom: 0;
  width: 100%;
}
</style>

<div id="target">
  <div>Test passes if the orange stripe below is exactly at the bottom of the viewport.</div>
</div>