summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/background-blend-mode-background-size-contain.html
blob: 76cbb930c62caccea81f3f232447ab8158b50390 (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-size: contain   -->
<!DOCTYPE HTML>
<html>
<head>
<style>
div { 
	background: url('resources/white_square.svg'), #777777;
	background-size: contain;
	width: 200px;
	height: 200px;
	margin: 10px;
	background-blend-mode: multiply;
}
</style>
</head>

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