summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast/semi-transparent-overlay.html
blob: 76f2542ee4a715941124758bd5df62f0fb97c515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<style>
.container {
  position: relative;
}
a {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .2);
}
</style>
<div class="container">
  <a href="#"></a>
  Some text that you should be able to read.
</div>