Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninja1375 authored Aug 24, 2024
1 parent ef2e5e7 commit 56fbce8
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,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;
}

0 comments on commit 56fbce8

Please sign in to comment.