-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
84 lines (76 loc) · 1.39 KB
/
index.css
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
.fabulous {
width: 100px;
height: 100px;
position: relative;
background-color: rgba(247, 112, 112, 0.20);
cursor: pointer;
}
.fabulous .wrist {
position: absolute;
width: 18px;
height: 45px;
background: #7b49b6;
border-radius: 25%;
top: 50%;
left: 50%;
margin-left: -35px;
margin-top: -11px;
}
.span2 {
position: absolute;
width: 50px;
height: 50px;
background-color: #7b49b6;
border-radius: 10px;
transform: skewX(-10deg);
left: 50%;
margin-left: -12px;
top: 50%;
margin-top: -15px;
}
/*覆盖角*/
.span2:before {
content: ' ';
left: -4px;
top: -1px;
height: 42px;
width: 20px;
position: absolute;
transform: skewX(10deg);
background-color: #7b49b6;
border-radius: 10px 0 0 0;
}
.span2:after {
content: ' ';
left: -10px;
top: -20px;
bottom: 100%;
border: solid 16px;
border-color: transparent #7b49b6 #7b49b6 transparent;
position: absolute;
transform: skewX(10deg);
border-right-width: 4px;
border-bottom-width: 8px;
}
.span3 {
width: 20px;
height: 30px;
position: absolute;
background-color: #7b49b6;
transform: skewY(10deg);
border-radius: 55% 50% 0 10%;
left: 50%;
margin-left: 3px;
top: 50%;
margin-top: -41px;
}
.span3::before {
/* content: ' '; */
position: absolute;
width: 10px;
height: 30px;
transform: skewY(-10deg);
background-color: #b66149;
border-radius: 40%;
left: -7px;
}