summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/sticky/position-sticky-stacking-context-ref.html
blob: 2db17cc4244b2d9e1d1a411a3072df8ceea45cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<title>Reference for position: sticky should create a stacking context</title>

<style>
.indicator {
  background-color: green;
}

.box {
  width: 200px;
  height: 200px;
}
</style>

<div>You should see a single green box below. No red or blue should be visible.</div>

<div class="indicator box"></div>