File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments