feat: Add Bootstrap greeting card page

- Created index.html with Bootstrap card structure
- Added style.css for custom hover effects
This commit is contained in:
kiran 2025-06-13 12:21:09 +05:30
parent 098c697ab5
commit db705a4719
2 changed files with 32 additions and 0 deletions

20
index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Greeting Card</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container d-flex justify-content-center align-items-center vh-100">
<div class="card text-center shadow" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Hello!</h5>
<p class="card-text">Welcome to this simple greeting card.</p>
</div>
</div>
</div>
</body>
</html>

12
style.css Normal file
View File

@ -0,0 +1,12 @@
/* Custom styles for the greeting card */
body {
background-color: #f8f9fa;
}
.card {
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}