Bootstrap snippet. Dropdown animation with CSS

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
Tags: menu,navbar,nav

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="navbar navbar-default navbar-static-top">
  <div class="container bootstrap snippets bootdey">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      <a class="navbar-brand" href="#">Grones</a>
    <div class="collapse navbar-collapse">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">Home</a></li>
        <li class="dropdown "><a href="#" id="drop1" data-toggle="dropdown" class="dropdown-toggle" role="button">Music <b class="caret"></b></a>
            <ul role="menu" class="dropdown-menu" aria-labelledby="drop1">
                <li role="presentation"><a href="#" role="menuitem"></a></li>
                <li role="presentation"><a href="#" role="menuitem">Option 2</a></li>
                <li role="presentation"><a href="#" role="menuitem">Option 3</a></li>
                <li role="presentation"><a href="#" role="menuitem">New Snippets</a></li>
        <li><a href="#contact">Contact</a></li>
    </div><!--/.nav-collapse -->

<div class="container bootstrap snippets bootdey">
</div><!-- /.container -->

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

.open > .dropdown-menu {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);  
.dropdown-menu {
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-animation-fill-mode: forwards;  
  animation-fill-mode: forwards; 
  -webkit-transform: scale(1, 0);
  display: block; 
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;

Similar snippets

Bootstrap  NavBar Menu Dropdowns example

NavBar Menu Dropdowns

Bootstrap Features example


Bootstrap Google plus navbar style example

Google plus navbar style

Bootstrap news feed sidebaser with online users example

news feed sidebaser with online users

Bootstrap profile with data and skills example

profile with data and skills

Bootstrap manage users example

manage users

Bootstrap company invoice example

company invoice

Bootstrap Gallery of images example

Gallery of images

Free bootstrap example. Dropdown animation with CSS

About this bootstrap snippet

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 12.7K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.1.1

This snippet is based on bootstrap 3.1.1 and the grid system of this framework


Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working