-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path07_仙人掌.html
More file actions
85 lines (84 loc) · 1.91 KB
/
07_仙人掌.html
File metadata and controls
85 lines (84 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
body {
height: 100vh;
background-color: #f5deb3;
display: grid;
place-items: center;
}
div{
width: 150px;
height: 90px;
background-color: #f4a460;
background-image: linear-gradient(
to left,
rgba(0, 0, 0, 0.1) 25%,
rgba(0, 0, 0, 0.05) 25%,
rgba(0, 0, 0, 0.05) 25%,
transparent 50%
);
border-radius: 8px 8px 30px 30px;
border: 5px solid #b8860b;
position: relative;
text-align: center;
line-height: 90px;
font-size: 26px;
color: #06de06;
}
div::before{
content: '';
width: 100px;
height: 150px;
background-color: #90ee90;
position: absolute;
top: -130px;
left: calc(50% - 50px);
background-image: linear-gradient(
to left,
rgba(0, 0, 0, 0.1) 20%,
rgba(0, 0, 0, 0.05) 20%,
rgba(0, 0, 0, 0.05) 46%,
transparent 46%),
radial-gradient( rgba(255, 255, 255, 0.8) 15%,
transparent 16%),
repeating-linear-gradient(
to right,
#90ee90,
#90ee90 8px,
#5ee65e 8px,
#5ee65e 16px);
background-size: auto auto, 15px 15px, auto auto;
border-radius: 50px 50px 0 0;
border: 5px solid #b8860b;
box-sizing: border-box;
z-index: -1;
}
div::after{
content: '';
width: 180px;
height: 30px;
position: absolute;
top: 90%;
left: calc(50% - 90px);
background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%;
z-index: -1;
}
</style>
</head>
<body>
<div>
仙人掌
</div>
</body>
</html>