Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anita order page #25

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
28 changes: 28 additions & 0 deletions html-css/week1/ANITA/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet"href="./files/css/styles.css">
<title>Visa Bank Card</title>
</head>
<link rel="stylesheet"href="styles.css">
<body>
<div class="card">
<div class="visa-logo">VISA</div>
</div>
<div class="card-number">
<span>**** **** **** 1234</span>
</div>
<div class="card-details">
<div class="card-holder">
<span>Anita Ngah</span>
</div>
<div class="expiry-date">
<span>Expires</span><br />
<span>12/28</span>
</div>
</div>
</body>
</div>
</html>
59 changes: 59 additions & 0 deletions html-css/week1/ANITA/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*styles.css */

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #blue;
margin: 0;
}

.visa-card{
width: 400px;
height: 250px;
background-color: #blue;
border-radius: 20px;
color: #000;
font-family: "Arial", Sans-serif;
box-shadow: 0 4px 10px rgba(0 0 0 0.2);
position: relative;
overflow: hidden;
}

.card-header {
display: flex;
justify-content: flex-end;
padding: 20px;
}

.visa-logo {
width: 50px;
}

.card-number {
font-size: 24px;
font-weight: bold;
letter-spacing: 4px;
margin: 60px; 20px 20px 20px;
}

.card-details {
display: flex;
justify-content: space-between;
padding: 10px; 20px
}

.card-holder {
font-family: 14px;
letter-spacing: 2px;
}

.expiration-date {
font-size: 14px;

}

.card-number span, .card-holder span, .expiration-date span {
font-family: "Courier New", Couier, monospace;
}