xxxxxxxxxx
1
<!--Main Navigation-->
2
<header class="mb-5 sticky" data-mdb-sticky-direction="both">
3
<!-- Jumbotron -->
4
<div class="p-3 text-center text-white" style="background-color: #131921">
5
<div class="container">
6
<div class="row">
7
<div class="col-md-6 d-flex justify-content-center justify-content-md-start mb-3 mb-md-0">
8
<a href="#!" class="ms-md-2">
9
<img src="https://mdbootstrap.com/img/logo/mdb-transaprent-noshadows.png" height="35" />
10
</a>
11
</div>
12
13
<div class="col-md-6 d-flex justify-content-center justify-content-md-end align-items-center">
14
<div class="d-flex">
15
<!-- Cart -->
16
<a class="text-reset me-3" href="#">
17
<span><i class="fas fa-shopping-cart"></i></span>
18
<span class="badge rounded-pill badge-notification bg-danger">1</span>
19
</a>
20
21
<!-- Notification -->
22
<div class="dropdown">
23
<a class="text-reset me-3 dropdown-toggle hidden-arrow" href="#" id="navbarDropdownMenuLink"
24
role="button" data-mdb-toggle="dropdown" aria-expanded="false">
25
<i class="fas fa-bell"></i>
26
</a>
27
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuLink">
28
<li><a class="dropdown-item" href="#">Some news</a></li>
29
<li><a class="dropdown-item" href="#">Another news</a></li>
30
<li>
31
<a class="dropdown-item" href="#">Something else here</a>
32
</li>
33
</ul>
34
</div>
35
36
<!-- User -->
37
<div class="dropdown">
38
<a class="text-reset dropdown-toggle d-flex align-items-center hidden-arrow" href="#"
39
id="navbarDropdownMenuLink" role="button" data-mdb-toggle="dropdown" aria-expanded="false">
40
<img src="https://mdbootstrap.com/img/new/avatars/1.jpg" class="rounded-circle" height="22" alt=""
41
loading="lazy" />
42
</a>
43
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuLink">
44
<li><a class="dropdown-item" href="#">My profile</a></li>
45
<li><a class="dropdown-item" href="#">Settings</a></li>
46
<li><a class="dropdown-item" href="#">Logout</a></li>
47
</ul>
48
</div>
49
</div>
50
</div>
51
</div>
52
</div>
53
</div>
54
<!-- Jumbotron -->
55
56
<!-- Navbar -->
57
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #232f3e">
58
<!-- Container wrapper -->
59
<div class="container justify-content-center justify-content-md-between">
60
<!-- Left links -->
61
<ul class="navbar-nav flex-row">
62
<li class="nav-item me-2 me-lg-0 d-none d-md-inline-block">
63
<a class="nav-link" href="#">Bestsellers</a>
64
</li>
65
<li class="nav-item me-2 me-lg-0 d-none d-md-inline-block">
66
<a class="nav-link" href="#">Inspirations</a>
67
</li>
68
<li class="nav-item me-2 me-lg-0 d-none d-md-inline-block">
69
<a class="nav-link" href="#">Blog</a>
70
</li>
71
<li class="nav-item me-2 me-lg-0 d-none d-md-inline-block">
72
<a class="nav-link" href="#">Contact</a>
73
</li>
74
</ul>
75
<!-- Left links -->
76
77
<button class="btn btn-outline-light" type="button">
78
Download app<i class="fas fa-download ms-2"></i>
79
</button>
80
</div>
81
<!-- Container wrapper -->
82
</nav>
83
<!-- Navbar -->
84
85
</header>
86
<!--Main Navigation-->
87
88
<div style="height: 1500px">
89
<p>
90
Some content
91
</p>
92
</div>
xxxxxxxxxx
1
.navbar-dark .nav-item .nav-link {
2
color: #fff;
3
}
1
1
Console errors: 0