Hi there! I am currently learning HTML, CSS, and JS. I'm working on a homepage project using Bootstrap-5 and have successfully integrated a navbar. However, I've noticed that the navbar disappears too quickly when I scroll down. Is there a way to adjust the transition speed of the navbar? I would like to increase the delay before it hides. Any guidance on setting a custom transition speed for the navbar using Bootstrap classes?
.spacer {
height: 125vh;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5b3934342f282f293a2b1b6e75697569">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<nav class="navbar navbar-hide-on-scroll navbar-expand-lg navbar-light bg-light ">
<div class="container-fluid">
<a class="navbar-brand ps-5 fs-4" href="#">Abdullah Asif</a>
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 pe-5 fw-bold fs-4">
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#">Work</a></li>
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#">About</a></li>
</ul>
</div>
</nav>
<div class="spacer"></div>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="92f0fdfde6e1e6e0f3e2d2a7bca0bca0">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>