-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path10-23.html
More file actions
116 lines (114 loc) · 3.64 KB
/
10-23.html
File metadata and controls
116 lines (114 loc) · 3.64 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>径向渐变|关键词制作径向渐变大小效果</title>
<style type="text/css" media="screen">
*{
margin: 0;
padding: 0;
}
.wrapper {
width: 650px;
margin: 20px auto;
}
.row:before,
.row:after {
content:"";
display: table;
}
.row:after{
clear: both;
overflow: hidden;
}
.row > div {
width: 150px;
height: 150px;
margin: 20px;
float: left;
text-align: center;
line-height: 150px;
color: #fff;
font-weight: bold;
}
.row:first-child > div{
color: #000;
font-weight: bold;
height: auto;
line-height: 28px;
border-radius: 0;
text-align: left;
}
.row>div:first-child{
color: #000;
text-align: left;
font-weight: bold;
}
/* closest-side*/
.closest-side .circle {
background-image: -webkit-radial-gradient(closest-side circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(closest-side circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
.closest-side .ellipse {
background-image: -webkit-radial-gradient(closest-side ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(closest-side ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
/* closest-corner*/
.closest-corner .circle {
background-image: -webkit-radial-gradient(closest-corner circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(closest-corner circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
.closest-corner .ellipse {
background-image: -webkit-radial-gradient(closest-corner at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(closest-corner ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
/* farthest-side */
.farthest-side .circle {
background-image: -webkit-radial-gradient(farthest-side circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(farthest-side circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
.farthest-side .ellipse {
background-image: -webkit-radial-gradient(farthest-side ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(farthest-side ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
/* farthest-corner */
.farthest-corner .circle {
background-image: -webkit-radial-gradient(farthest-corner circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(farthest-corner circle at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
.farthest-corner .ellipse {
background-image: -webkit-radial-gradient(farthest-corner ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
background-image: radial-gradient(farthest-corner ellipse at 50% 75%, rgb(220, 75, 200),rgb(0, 0, 75));
}
</style>
</head>
<body>
<div class="wrapper">
<div class="row title">
<div>关键词</div>
<div>圆形径向渐变</div>
<div>椭圆形径向渐变</div>
</div>
<div class="row closest-side">
<div>closest-side</div>
<div class="circle">closest-side</div>
<div class="ellipse">closest-side</div>
</div>
<div class="row closest-corner">
<div>closest-corner</div>
<div class="circle">closest-corner</div>
<div class="ellipse">closest-corner</div>
</div>
<div class="row farthest-side">
<div>forthest-side</div>
<div class="circle">forthest-side</div>
<div class="ellipse">forthest-side</div>
</div>
<div class="row farthest-corner">
<div>forthest-corner</div>
<div class="circle">farthest-corner</div>
<div class="ellipse">farthest-corner</div>
</div>
</div>
</body>
</html>