summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/radial-gradient-position-with-relative-offset.html
blob: 91dbbde0cfe8eac9ff62b6cd6bf35e9bc03f71ac (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
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<style>
.box {
    height: 200px;
    width: 200px;
    margin: 10px;
}

.gradient1 {
    background: radial-gradient(5em circle at left 55px bottom 75px, yellow, blue);
}

.gradient2 {
    background: radial-gradient(5em circle at top 65px right 45%, yellow, blue);
}

.gradient3 {
    background: radial-gradient(5em circle at bottom 65px right 45%, yellow, blue);
}

.gradient4 {
    background: radial-gradient(5em circle at center left 45%, yellow, blue);
}

.gradient5 {
    background: radial-gradient(5em circle at right 45% center, yellow, blue);
}

.gradient6 {
    background: radial-gradient(5em circle at right calc(60px + 5px) center, yellow, blue);
}

</style>
</head>
<body>
    <div class="gradient1 box"></div>
    <div class="gradient2 box"></div>
    <div class="gradient3 box"></div>
    <div class="gradient4 box"></div>
    <div class="gradient5 box"></div>
    <div class="gradient6 box"></div>
</body>
</html>