-
Notifications
You must be signed in to change notification settings - Fork 2
/
card.css
155 lines (136 loc) · 2.73 KB
/
card.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
* {
font-family: Playwrite AU QLD, cursive;
}
.playwrite-au-qld-card1 {
font-family: "Playwrite AU QLD", cursive;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
.card1 {
perspective: 3200px;
position: relative;
height: 280px;
max-width: 320px;
margin: 32px;
background: none;
}
.card1-side {
height: 280px;
border-radius: 16px;
transition: all 0.8s ease;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 80%;
padding: 32px;
color: white;
border: 2px solid #000;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.6em;
}
.card1-side.back {
transform: rotateY(-180deg);
background-image: url(/images/dls.png);
background-size: contain;
}
.card1-side.front {
background-image: linear-gradient(
43deg,
#4158d0 0%,
#c850c0 46%,
#ffcc70 100%
);
}
.card1:hover .card1-side.front {
transform: rotateY(180deg);
}
.card1:hover .card1-side.back {
transform: rotateY(0deg);
}
.card2 {
perspective: 3200px;
position: relative;
height: 280px;
max-width: 320px;
margin: 32px;
background: none;
}
.card2-side {
height: 280px;
border-radius: 16px;
transition: all 0.8s ease;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 80%;
padding: 32px;
color: white;
border: 2px solid #000;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.6em;
}
.card2-side.back {
transform: rotateY(-180deg);
background-image: url(/images/nrr.png);
background-size: cover;
}
.card2-side.front {
background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
}
.card2:hover .card2-side.front {
transform: rotateY(180deg);
}
.card2:hover .card2-side.back {
transform: rotateY(0deg);
}
.card3 {
perspective: 3200px;
position: relative;
height: 280px;
max-width: 320px;
margin: 32px;
background: none;
}
.card3-side {
height: 280px;
border-radius: 16px;
transition: all 0.8s ease;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
width: 80%;
padding: 32px;
color: white;
border: 2px solid #000;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.6em;
}
.card3-side.back {
transform: rotateY(-180deg);
background-image: url(/images/bowl.png);
background-size: cover;
}
.card3-side.front {
background-image: linear-gradient(
43deg,
#4158d0 0%,
#c850c0 46%,
#ffcc70 100%
);
}
.card3:hover .card3-side.front {
transform: rotateY(180deg);
}
.card3:hover .card3-side.back {
transform: rotateY(0deg);
}