-
-
Save bmackenty/514ef47bdac29b9675ad061e2f9b0775 to your computer and use it in GitHub Desktop.
This is a basic template for bootstrap template.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap demo</title> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous"> | |
</head> | |
<body> | |
<nav class="navbar navbar-expand-lg bg-light"> | |
<div class="container-fluid"> | |
<a class="navbar-brand" href="#">Navbar</a> | |
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | |
<span class="navbar-toggler-icon"></span> | |
</button> | |
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | |
<ul class="navbar-nav me-auto mb-2 mb-lg-0"> | |
<li class="nav-item"> | |
<a class="nav-link active" aria-current="page" href="#">Home</a> | |
</li> | |
<li class="nav-item"> | |
<a class="nav-link" href="#">Link</a> | |
</li> | |
<li class="nav-item dropdown"> | |
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> | |
Dropdown | |
</a> | |
<ul class="dropdown-menu"> | |
<li><a class="dropdown-item" href="#">Action</a></li> | |
<li><a class="dropdown-item" href="#">Another action</a></li> | |
<li> | |
<hr class="dropdown-divider"> | |
</li> | |
<li><a class="dropdown-item" href="#">Something else here</a></li> | |
</ul> | |
</li> | |
<li class="nav-item"> | |
<a class="nav-link disabled">Disabled</a> | |
</li> | |
</ul> | |
<form class="d-flex" role="search"> | |
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search"> | |
<button class="btn btn-outline-success" type="submit">Search</button> | |
</form> | |
</div> | |
</div> | |
</nav> | |
<div class="container"> | |
<h1>Hello, world!</h1> | |
<div class="row mt-2"> | |
<div class="col-12 border border-primary"> | |
I'm in a 12 width column | |
</div> | |
</div> | |
<div class="row mt-2"> | |
<div class="col-6 border border-warning"> | |
I'm in a 6 width column | |
</div> | |
<div class="col-6 border border-primary"> | |
I'm in a 6 width column | |
</div> | |
</div> | |
<div class="row mt-2"> | |
<div class="col-4 border border-primary"> | |
I'm in a 4 width column | |
</div> | |
<div class="col-4 border border-primary"> | |
I'm in a 4 width column | |
</div> | |
<div class="col-4 border border-primary"> | |
I'm in a 4 width column | |
</div> | |
</div> | |
<div class="row mt-2"> | |
<div class="col-3 border border-primary"> | |
I'm in a 3 width column | |
</div> | |
<div class="col-3 border border-primary"> | |
I'm in a 3 width column | |
</div> | |
<div class="col-3 border border-primary"> | |
I'm in a 3 width column | |
</div> | |
<div class="col-3 border border-primary"> | |
I'm in a 3 width column | |
</div> | |
</div> | |
<!-- Please don't edit below this line --> | |
</div> <!-- close container --> | |
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment