summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-anchor-position/position-visibility-anchors-valid-ref.html
blob: 96b4e865512c2adf1215e7aaae43bc1053bd6356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<style>
  .anchor {
    width: 100px;
    height: 100px;
    background: orange;
  }
  .target {
    width: 100px;
    height: 100px;
    background: green;
  }
</style>

<div class="anchor">anchor1</div>
<div class="target">target1</div>