Search
 
SCRIPT & CODE EXAMPLE
 

HTML

bootstrap 5 Navbar not working

<!-- You have to change the data-toggle to data-bs-toggle and use data-bs-target attribute.
Add the ID in the collapse div.
That's all..
Believe me, it works-->

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse" id="collapse">
Comment

PREVIOUS NEXT
Code Example
Html :: HTML DOM innerText 
Html :: button href 
Html :: video html player 
Html :: external javascript file not working 
Html :: image urol in src local image 
Html :: html figure 
Html :: how to italicize in html 
Html :: placeholder text html 
Html :: remove cell border css 
Html :: angular open pdf in new tab 
Html :: html spacing 
Html :: svg marker 
Html :: smooth scroll button by element id 
Html :: accept vedio pdf files upload html 
Html :: visual studio code html template shortcut 
Html :: multiline input 
Html :: html5 comment 
Html :: bootstrap checkbox 
Html :: title in html 
Html :: slick slider slidestoshow auto 
Html :: cross site scripting 
Html :: image slider with bootstrap 
Html :: vuejs v-on 
Html :: how to create a form 
Html :: how open url in html in new window with custom size 
Html :: hyperlinks in html 
Html :: html input for email 
Html :: rick astley never gonna give you up 
Html :: Jumbotron in boostrap 5 
Html :: html underline tag 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =