-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2.css
More file actions
67 lines (61 loc) · 1.15 KB
/
Copy path2.css
File metadata and controls
67 lines (61 loc) · 1.15 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
.bo {
width: 220px;
height: 220px;
border-radius: 50%;
background-image: url(./5.jpg);
background-size: cover;
box-shadow: inset 0 0 0px 20px #00000054;
position: relative;
perspective: 500px;
}
.trang {
width: 180px;
height: 180px;
left: 20px;
top: 20px;
background: #fff;
border-radius: 50%;
position: absolute;
z-index: 2;
box-shadow: inset 1px 1px 2px 1px black;
}
.den {
width: 180px;
height: 180px;
background: black;
box-sizing: border-box;
position: absolute;
z-index: 3;
left: 20px;
top: 20px;
border-radius: 50%;
text-align: center;
padding: 37px;
transition: 0.4s;
transform: rotateY(-180deg);
color: #fff;
}
.xanh {
width: 180px;
height: 180px;
position: absolute;
}
.xanh {
width: 180px;
height: 180px;
position: absolute;
z-index: 4;
background-image: url(./4.jpg);
background-size: cover;
left: 20px;
top: 20px;
border-radius: 50%;
transition: 0.4s;
backface-visibility: hidden;
}
.bo:hover .xanh {
transform: rotateY(180deg)
}
.bo:hover .den {
transform: rotateY(0deg)
}