adspace


Explain me how will you create a pills navigation menu?

Answer Posted / Shivam Kumar

To create a pills navigation menu in Bootstrap, you can use the Nav pill components. First, include the appropriate CSS and JavaScript files for Bootstrap. Then, wrap your links inside a `<nav>` element with the class `nav nav-pills`. Each link should have the class `nav-link` and `mx-1` (margins on both sides) to create equal spacing between them. To make the selected pill active, use the `active` class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version of bootstrap?

87