-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3.css
More file actions
64 lines (56 loc) · 901 Bytes
/
3.css
File metadata and controls
64 lines (56 loc) · 901 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.bo {
width: 480px;
height: 360px;
position: relative;
margin: auto;
overflow: hidden;
}
.anh {
background-image: url(./4.jpg);
width: 100%;
height: 100%;
background-size: cover;
position : absolute;
z-index: 1;
transition: 0.4s;
}
.den {
width: 480px;
height: 380px;
position: absolute;
z-index: 2;
background: #00000042;
top: 0;
left: 0;
transition: 0.4s;
opacity: 0;
}
.chu {
position: absolute;
z-index: 3;
left: 40px;
background: #fff;
padding: 10px 20px;
transform: translateX(-600px);
transition: 0.4s
}
.bo .chu1{
top: 80px;
}
.bo .chu2{
top: 130px;
transition-delay: 0.2s;
}
.bo .chu3{
top: 180px;
transition-delay: 0.3s
}
.bo:hover .anh {
transform: scale(1.2);
}
.bo:hover .den{
opacity: 1;
}
.bo:hover .chu{
transform: translateX(0px)
}