summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/tiled-radial-gradients-ref.html
blob: 30046e4f2c0331d5d87ad44b6ea04cabb2213a9f (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
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <style>
            body {
                margin: 0px;
            }

            #outer {
                position: absolute;
                width: 600px;
                height: 200px;
                background-color: aquamarine;
            }

            #left, #right {
                position: absolute;
                width: 300px;
                height: 200px;
                background-image: radial-gradient(closest-side, red 40%, transparent 40%)

            }
            #left {
                left: 80px;
            }

            #right {
                left: 380px;
            }
        </style>
    </head>
    <body>
        <div id="outer">
            <div id="left"></div>
            <div id="right"></div>
        </div>
    </body>
</html>