-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAccordionjs.css
56 lines (56 loc) · 1.1 KB
/
Accordionjs.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
.mbanner {
width: 100%;
height: 100%;
position: relative;
left: 0;
overflow: hidden;
}
.mbanner div {
transition-duration: 0.3s;
height: 100%;
display: inline-block;
position: absolute;
background-size: cover;
cursor: pointer;
}
.mbanner div img {
border: none;
width: 100%;
height: 100%;
}
.mbanner div span {
-webkit-font-smoothing: antialiased;
position: absolute;
bottom: 10px;
left: 10px;
color: #fff;
font-family: Verdana;
font-size: 20px;
transform-origin: left;
transform: translateX(10px) translateY(10px) rotate(-90deg);
-webkit-transition-duration: 0.2s;
-moz-transition-duration: 0.2s;
-ms-transition-duration: 0.2s;
-o-transition-duration: 0.2s;
transition-duration: 0.2s;
}
.mbanner div:before {
content: '';
width: 100%;
height: 100%;
background-color: black;
opacity: 0.3;
position: absolute;
left: 0;
top: 0;
transition-duration: 0.6s;
}
.mbanner div:last-child span {
transform: translateX(0px) translateY(0px) rotate(0deg);
}
.mbanner .op:before {
content: '';
transition-duration: 0.4s;
opacity: 0 !important;
z-index: -1;
}