summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/tiled-gradients-ref.html
blob: a6fa41214eefdb561eaf4757a4371d1953e313db (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
<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <style>
            .bar {
                width: 400px;
                height: 100px;
            }
            .box {
                display: inline-block;
                width: 100px;
                height: 100px;
                border: 0px;
                background-image: linear-gradient(to bottom left, red 50%, transparent 50%);
            }

        </style>
    </head>
    <body>
        <div class="bar">
            <div class="box"></div><div class="box"></div><div class="box"></div><div class="box"></div>
        </div>
        <div class="bar">
            <div class="box"></div><div class="box"></div><div class="box"></div><div class="box"></div>
        </div>
    </body>
</html>