Article 8 Bootstrap drop-down menu instance Code, Article 8 bootstrap

Source: Internet
Author: User

Article 8 Bootstrap drop-down menu instance Code, Article 8 bootstrap

Let's talk about my implementation idea: Give div A class "dropdown" and put the drop-down menu in this div to display the bootstrap drop-down menu.

<Div class = "dropdown"> <button class = "btn-default dropdown-toggle" type = "button" id = "dropdownMenu1" data-toggle = "dropdown"> Dropdown <span class = "caret"> </span> </button> <ul class = "dropdown-menu" role = "menu" aria-labelledby = "dropdownMenu1"> <li role = "presentation"> <a role = "menuitem" tabindex = "-1" href = "#"> Regular link </a> </li> <li role =" presentation "class =" disabled "> <a role =" menuitem "tabindex ="-1 "href =" # "> Disabled link </a> </li> <li role = "presentation"> <a role = "menuitem" tabindex = "-1" href = "#"> Another link </a> </li> </ul> </ div>

The above is a full description of the sample code in the eighth Bootstrap drop-down menu provided by Alibaba Cloud. I hope it will be helpful to you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.