Bootstrap > Drop up

Drop up menu in Bootstrap

How to create drop up menu using Bootstrap?

Drop up

We can create drop up menu

    <div class="container">
        <div class="dropup">
            <button class="btn btn-danger dropdown-toggle" type="button" data-toggle="dropdown">
                <span class="caret"></span>
            <ul class="dropdown-menu">
                <li><a href="#">HTML</a></li>
                <li class="divider"></li>
                <li><a href="#">About Us</a></li>

In the above code snippet we have defined the drop up menu, we have class as drop up and button as danger which appears in red color dropdown toggle, datatoggle as dropdown  and we have span as caret which shows the symbol in the drop up menu


 Views: 865 | Post Order: 28

Write for us