summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/chrome/printpreview_mask.html
blob: f1ea3af255fc7a15696515d82c9c72cfc5b72e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<style>
div {
  background: black;
  color: white;
  -webkit-mask-image: linear-gradient(180deg,#000 60%,transparent);
  mask-image: linear-gradient(180deg,#000 60%,transparent);
}
</style>
<div>
  Here's some text<br>
  Here's some text<br>
  Here's some text<br>
  Here's some text<br>
  Here's some text<br>
</div>