Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"icon bar "
Bootstrap 3.0.0 Snippet by
CharlesStone
3.0.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.5K
 
1 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Add icon library --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="icon-bar"> <a href="#">aaaaaaaaaaaa <i class="fa fa-home"></i></a> <a href="#">bbbbbbbbbbbbbb <i class="fa fa-search"></i></a> <a href="#">cccccccccccccccccccc <i class="fa fa-envelope"></i></a> <a href="#">dddddddddddddd <i class="fa fa-globe"></i></a> <a href="#">eeeeeeeeeeee<i class="fa fa-trash"></i></a> </div>
.icon-bar { position: absolute; left: -250px; /*how much it hide*/ transition: 0.3s; padding: 10px; width: 310px; /*how much it show*/ text-decoration: none; font-size: 16px; color: white; border-radius: 0 5px 5px 0; background-color: #0093d0; z-index: 1; } .icon-bar a { display: block; /* Make the links appear below each other instead of side-by-side */ text-align: right; /* Center-align text */ padding: 16px; /* Add some padding */ transition: all 0.3s ease; /* Add transition for hover effects */ color: white; /* White text color */ font-size: 20px; /* Increased font-size */ } .icon-bar a:hover { background-color: #555; /* Add a hover color */ width: 600px; left: 0; border-radius: 0 5px 5px 0; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76