-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (86 loc) · 1.62 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f4;
margin: 0;
}
.container {
text-align: center;
}
.input-group {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
.card-container {
perspective: 1000px;
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.card {
position: relative;
width: 85.60mm;
height: 53.98mm;
transition: transform 0.6s;
transform-style: preserve-3d;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-side {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 10px;
}
.front {
background: linear-gradient(135deg, #7b4397, #dc2430);
color: white;
}
.back {
background: linear-gradient(135deg, #7b4397, #dc2430);
color: white;
transform: rotateY(180deg);
}
.card-detail {
margin: 10px;
}
.magstripe {
height: 20%;
width: 100%;
background: black;
margin-top: 10px;
}
#cvv {
margin-top: 10px;
text-align: right;
padding-right: 10px;
}
button {
padding: 10px 20px;
background-color: #3498db;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 5px;
}
button:hover {
background-color: #2980b9;
}
input {
padding: 10px;
width: 200px;
border: 1px solid #ccc;
border-radius: 5px;
}