blob: 25e31fd3ad9b4ac144de16df34af2d31c566ef31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/licenses/publicdomain/
Multiple -moz-element background images
-->
<!DOCTYPE html>
<html>
<head>
<style>
#box {
height: 100px;
width: 200px;
background: linear-gradient(lime,lime) top left no-repeat,
linear-gradient(green,green) top right no-repeat red;
background-size: 100px 100px;
}
div > div {
width: 100px;
height: 100px;
}
</style>
</head>
<body style="margin:0">
<div id="box"></div>
</body>
</html>
|