x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
5
6
<style>
7
body {
8
padding-top: 1em;
9
}   
10
</style> <div class="container-fluid">
11
        
12
<!-- Navbar -->
13
<nav class="navbar navbar-light bg-primary">
14
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#bird">
15
&#9776;
16
</button>
17
</nav>
18
19
<!-- Content -->
20
<div class="collapse" id="bird">
21
<div class="bg-faded p-a-1">
22
<h4>Bird</h4>
23
<img src="/pix/samples/8s.jpg" class="img-circle">
24
<p>This bird was photographed in the Philippines.</p>
25
</div>
26
</div>
27
28
</div>
29
        
30
<!-- Bundled -->
31
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>