-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
54 lines (54 loc) · 1.15 KB
/
test.html
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
<!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>
.marker {
position: relative;
width: 40px;
height: 40px;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 6px #FF753C;
text-align: center;
color: #fff;
font-size: 16px;
}
.marker::before {
content: '';
width: 36px;
height: 36px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
background: #FF753C;
}
.marker::after {
content: '';
position: absolute;
width: 0;
height: 0;
border: 4px solid transparent;
border-top: 5px solid #FF753C;
left: 50%;
transform: translateX(-50%);
bottom: -9px;
z-index: -1;
}
span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div class="marker"><span>特</span></div>
</body>
</html>