-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcard.css
More file actions
47 lines (40 loc) · 690 Bytes
/
card.css
File metadata and controls
47 lines (40 loc) · 690 Bytes
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
.card-flip > div {
backface-visibility: hidden;
transition: transform .6s;
transition-timing-function: linear;
width: 100%;
height: 100%;
margin: 0;
display: flex;
}
.ca{
padding:0px;
text-align:center;
}
.card-front {
transform: rotateY(0deg);
color: #e65c00;
background-color: #fff;
}
.card-back {
transform: rotateY(180deg);
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.card-flip:hover .card-front {
transform: rotateY(-180deg);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.card-flip:hover .card-back {
transform: rotateY(0deg);
transform: scale(1.1);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.c{
background-color: #ffb380;
}
.card{
position: relative;
}