-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflip.css
100 lines (86 loc) · 1.96 KB
/
flip.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body{
padding-top: 10%;
background-color: pink;
display: flex;
justify-content: center;
}
/* Flip Card Container */
.flip-card {
background-color: #f1f1f1;
width: 30%;
height: 300px;
perspective: 1000px;
border-radius: 20px;
}
/* Flip Card Inner Container */
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
}
/* Flip Card Front Side */
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 20px;
/* display:flex;
justify-content: center; */
}
/* Flip Card Front Side */
.flip-card-front {
background-color: white;
color: black;
}
/* Flip Card Back Side */
.flip-card-back {
background-color: #555;
color: white;
transform: rotateY(180deg);
}
/* Flip Card Flipped */
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
backface-visibility: hidden;
}
/* ------------------table------------------ */
.flip-card-back {
display: flex;
justify-content: flex-end;
}
.flip-card-back {
background-color: rgb(169, 101, 101);
border-radius: 20px;
/* border-top: 3px solid #ff523b; */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
/* border: 2px solid orange; */
width: 100%;
/* border-left: 8px solid orange; */
max-width: 350px;
}
.flip-card-back:hover {
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
animation-duration: 0.25s;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#total {
text-align: right;
padding: 30px;
padding-top: 30px;
margin-bottom: 50px;
}
#Pay {
padding: 15px;
border-radius: 25px;
cursor: pointer;
font-size: 15px;
font-weight: bold;
}
table tr:nth-last-child(2) {
border-bottom: 1px solid black;
}