Skip to content

Commit 6026bd2

Browse files
authored
Update index.html
1 parent a80df18 commit 6026bd2

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

index.html

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,38 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Bootstrap Page</title>
6+
<title>Beautiful Bootstrap Page</title>
77
<!-- Bootstrap CSS -->
88
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
9+
<style>
10+
body {
11+
display: flex;
12+
justify-content: center;
13+
align-items: center;
14+
height: 100vh;
15+
background-color: #f8f9fa;
16+
}
17+
.card {
18+
border-radius: 15px;
19+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
20+
padding: 2rem;
21+
width: 100%;
22+
max-width: 500px;
23+
}
24+
</style>
925
</head>
1026
<body>
1127

12-
<div class="container mt-5">
13-
<h1 class="mb-4">Simple Web Page with Bootstrap</h1>
28+
<div class="card text-center">
29+
<h2 class="mb-4">Stylish Form</h2>
1430

31+
<!-- Text Box -->
1532
<div class="mb-3">
1633
<label for="inputText" class="form-label">Text Box</label>
1734
<input type="text" class="form-control" id="inputText" placeholder="Type something...">
1835
</div>
1936

37+
<!-- Drop-Down Box -->
2038
<div class="mb-3">
2139
<label for="selectOption" class="form-label">Drop-Down Box</label>
2240
<select class="form-select" id="selectOption">
@@ -26,6 +44,7 @@ <h1 class="mb-4">Simple Web Page with Bootstrap</h1>
2644
</select>
2745
</div>
2846

47+
<!-- Button -->
2948
<button type="button" class="btn btn-primary" onclick="alert('Button clicked!')">Click Me</button>
3049
</div>
3150

0 commit comments

Comments
 (0)