-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
150 lines (134 loc) · 2.74 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
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
.main{
margin-top: 20%;
width: fit-content;
}
@keyframes rotate {
0%{
translate : 0;
}50%{
translate: 0px -200px;
}100%{
transform: rotateY(0deg);
transform: rotateY(180deg);
}
}
.card1-front{
width: 400px;
height: 250px;
box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 5px;
background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
&:hover{
animation: rotate 2s ease forwards;
}
}
.card2-front{
width: 400px;
height: 250px;
box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 5px;
background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
&:hover{
animation: rotate 1s ease forwards;
}
}
.card2-back{
transform: rotateY(-180deg);
}
.card3-front{
width: 400px;
height: 250px;
box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 5px;
background: linear-gradient(90deg, #0700b8 0%, #00ff88 100%);
&:hover{
animation: rotate 1s ease forwards;
}
}
.card4-front{
width: 400px;
height: 250px;
box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 5px;
background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
&:hover{
animation: rotate 1s ease forwards;
}
}
li{
list-style: none;
margin-left: 50px;
margin-top: 20px;
}
ul{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.company{
color: white;
padding-top: 15px;
padding-left: 14px;
position: absolute;
}
.bank{
color: white;
padding-top: 15px;
padding-left: 248px;
position: absolute;
}
.chip{
height: 80px;
width: 160px;
position: absolute;
margin-top: 60px;
margin-left: -35px;
}
.fa-wifi{
color: white;
rotate: 90deg;
position: absolute;
margin-top: 83px;
margin-left: 310px;
}
.number{
color: white;
padding-top: 150px;
padding-left: 20px;
letter-spacing: 8px;
position: absolute;
}
.valid{
color: white;
font-size: 12px;
padding-left: 20px;
padding-top: 180px;
letter-spacing: 2px;
font-weight: 100;
position: absolute;
}
.date{
font-size: 14px;
font-weight: 600;
position: absolute;
}
.name{
color: white;
position: absolute;
padding-top: 200px;
padding-left: 20px;
letter-spacing: 4px;
}
.fa-cc-visa{
color: white;
position: absolute;
margin-top: 210px;
margin-left: 335px;
}
.fa-cc-mastercard{
color: white;
position: absolute;
margin-top: 210px;
margin-left: 335px;
}