-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.css
More file actions
47 lines (45 loc) · 763 Bytes
/
Copy path1.css
File metadata and controls
47 lines (45 loc) · 763 Bytes
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
.bobo {
width: 700px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.bo {
width: 220px;
height: 220px;
background: url(./1.jpg);
background-size: cover;
border-radius: 50%;
position: relative;
perspective: 200px;
}
.chu {
position: absolute;
z-index: 1;
left: 20px;
top: 20px;
background: #0003;
width: 180px;
height: 180px;
border-radius: 50%;
text-align: center;
line-height: 180px;
font-size: 1.5rem;
}
.nap {
position: absolute;
z-index: 2;
background: url(./1.jpg) 1px -9px;
width: 180px;
height: 180px;
left: 20px;
top: 20px;
border-radius: 50%;
background-size: cover;
box-shadow: 0 0 2px #0000008a;
transition: 0.6s;
transform-origin: 50% 100%;
}
.bo:hover .nap {
transform: rotateX(-180deg);
}