summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/background-blending-background-position-percentage.html
blob: 2b9de1cb5fc96fedfc8ee309a7aeff4657ed71ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- Blend a background image and a background color specifying background-position in percentage, such as 50% 50% -->
<!DOCTYPE HTML>
<html>
<head>
<style>
div {
  background: url('as-image/white_square.svg'),  #777777;
  background-position: 10% 10%;
  width: 200px;
  height: 200px;
  margin: 10px;
  background-blend-mode: multiply;
}
</style>
</head>

<body>
  <div></div>
</body>
</html>