-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
58 lines (46 loc) · 1.02 KB
/
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
body {
font-family: Arial, Helvetica, sans-serif;
background-color: rebeccapurple;
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items:stretch ;
}
.card-body{
text-align: center;
}
.flip-card {
background-color: transparent;
perspective: 1000px;
}
.flip-card-inner {
position: relative;
/*background-color: violet;*/
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card-flipper .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-card-front {
font-size: 6rem;
color: white;
}
.flip-card-back {
font-size: 5.5rem;
color: white;
transform: rotateY(180deg);
}