Making push-button drop-down menus with bootstrap and CSS3

Source: Internet
Author: User

Using the bootstrap frame's font icons and drop-down menu effects, as well as CSS3 animations, you can make a more elegant push-button drop-down menu style

  <style>. Mybtnstyle. Dropdown-menu span{margin:5px;    }. Mybtnstyle. Dropdown-menu{Animation:0.5s Linear FadeIn; CSS3 New features animation    }@keyframes fadeIn{//Create animated effects with keyframes rules by gradually translating a set of CSS styles into another CSS style0%{opacity:0;Transform:Translatey ( -20);}100%{Opacity:1;Transform:Translatey (0);}    }  </style></Head><Body>  <Divclass= "Container">    <Divclass= "Dropdown mybtnstyle open">      <Buttonclass= "btn btn-default dropdown-toggle"Data-toggle= "Dropdown">explotion</Button>      <ulclass= "Dropdown-menu">        <Li><ahref="#">          <spanclass= "Glyphicon glyphicon-headphones"></span>//span Label wrapped font iconMoving</a></Li>        <Li><ahref="#">          <spanclass= "Glyphicon glyphicon-headphones"></span>Raging</a></Li>        <Li><ahref="#">          <spanclass= "Glyphicon glyphicon-headphones"></span>Daniangmener</a></Li>        <Li><ahref="#">          <spanclass= "Glyphicon glyphicon-headphones"></span>Holy</a></Li>      </ul>    </Div>  </Div></Body>

Making push-button drop-down menus with bootstrap and CSS3

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.