-
Notifications
You must be signed in to change notification settings - Fork 0
/
flipcard.css
58 lines (54 loc) · 882 Bytes
/
flipcard.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
.card{
position:absolute;
width:100%;
height:100%;
line-height:150px;
text-align:center;
border:2px solid #555;
border-radius: 5px;
background-color:lightblue;
-webkit-backface-visibility: hidden;
}
.cardcontainer{
width:100%;
height:100%;
/*transition: transform 1s;
transform-style: preserve-3d;*/
transform:rotateY(70deg);
}
#back{
/* initially rotate back to hide it */
transform:rotateY(180deg);
background-color: lightblue;
}
.flipme{
transform:rotateY(180deg);
}
body{
font-family:sans-serif;
}
h1{
text-align:center;
}
.carousel{
width:350px;
height:150px;
margin: 0 auto;
}
.scene{
perspective:1000px;
}
.carousel-cell{
width: 100%;
}
.carousel-cell:before {
display: block;
border-style: none;
}
.flickity-page-dots{
display:none;
}
.flickity-prev-next-button{
top:150%;
}
* { box-sizing: border-box; }