blob: 2f5d424b7dbab197650b8cec6df6fc974ab95ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!-- Blend two background images having background-attachment: fixed and scroll respectively -->
<!DOCTYPE HTML>
<html>
<head>
<style>
div {
width: 200px;
height: 200px;
background: url('as-image/black100x100.png'), url('as-image/green100x100.png');
background-size: 100px 100px, 200px 100px;
background-repeat: no-repeat;
}
body {
margin: 0px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
|