Answer the question
In order to leave comments, you need to log in
How to make a button to close active tab bootstrap?
Hello. My task is the following: to make a menu through tabs. Implemented everything, but it is necessary that there was a button to close the tab-content. Everything is implemented on bootstrap 3. Help with js-som, please)
Answer the question
In order to leave comments, you need to log in
Try to use the standard "close" button.
<ul class="nav nav-pills">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">Profile</a></li>
<li class="alert" role="presentation">
<a href="#">
<button type="button" class="close pull-right" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
Messages
</a>
</li>
</ul>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question