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