-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleCard.css
More file actions
53 lines (50 loc) · 1.11 KB
/
styleCard.css
File metadata and controls
53 lines (50 loc) · 1.11 KB
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
.flip-card {
background-color: transparent;
width: 300px;
height: 300px;
perspective: 1000px;
}
.flip-card-inner {
position: relative;
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);
}
.partie{
width: 300px;
height: 100px;
background-color: white;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front p{
font-family: 'zilla slab', sans-serif;
font-weight: normal;
font-size: 12px;
text-align: center;
}
.flip-card-front h1{
font-family: 'zilla slab', sans-serif;
font-weight: bold;
font-size: 24px;
text-align: center;
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}
.flip-card-front {
background-color: #bbb;
color: black;
}
.flip-card-back {
background-color: #307a79;
color: white;
transform: rotateY(180deg);
}