-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
59 lines (58 loc) · 941 Bytes
/
style.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
*, *::before, *::after {
margin:0;
padding:0;
box-sizing:border-box;
outline:none;
}
.wrapper{
height:250px;
margin:55px auto;
position:relative;
}
.inner {
position:absolute;
width:100%;
height:100%;
transition:transform 1s;
transform-style: preserve-3d;
}
.div {
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
}
.div img {
width:100%;
height:100%;
}
.div p {
position:absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
color:white;
text-shadow: 0px 0px 0px 10px;
font-size:50px;
}
.div2{
backface-visibility: hidden;
transform-origin: top right;
}
.div3 {
backface-visibility: hidden;
transform-origin: top left;
}
.control {
text-align: center;
width:70px;
height:50px;
background:#cccccc;
position:absolute;
bottom:-100px;
border-radius: 10px;
}
.next {
right:0;
}