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
"anim nav"
Bootstrap 3.3.0 Snippet by
evarevirus
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
994
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ----------> <div id="container" class="section"> <div id="header"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/104005/OC_logo2.png" alt "Orange Cupboard Jelly Company"></a> </div> <div id="ribbon"> <div id="nav"> <ul class="nav"> <li class="flavors"><a href="#">About</a></li> <li class="locations"><a href="#">Flavors</a></li> <li class="contact"><a href="#">Contact</a></li> </ul> </div> </div> </div>
* { margin: 0px; padding: 0px; } html { width: 100%; height: 100%; text-align: center; background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/104005/Plaid_bkg_blue.png"); } #container { position: relative; margin: 0 auto; width: 950px; padding: 20px; } #header { position: relative; min-height: 150px; text-align: center; padding: 10px; } #header img { max-width: 355px; postion: relative; } #ribbon { background-color: #47c7f0; width: 335px; padding: 10px; position: relative; margin-top: -88px; margin-left: auto; margin-right: auto; font-family: 'Shadows Into Light Two', cursive; font-size: 20px; letter-spacing: 2px; color: #ffffff; text-align: center; box-shadow: 0 2px 6px #999999; } /*Ribbon Ends*/ #ribbon:before, #ribbon:after { content: ""; width: 3px; bottom: 18px; position: absolute; display: block; border: 25px solid #47c7f0; box-shadow: 0 8px 6px -6px #999999; z-index: -2; } /*Left Ribbon End*/ #ribbon:before { left: -42px; border-right-width: 35px; border-left-color: transparent; } /*Right Ribbon End*/ #ribbon:after { right: -42px; border-left-width: 35px; border-right-color: transparent; } /*Wrap*/ #nav:before, #nav:after { content: ""; bottom: 48px; position: absolute; display: block; border-style: solid; z-index: -1; } /*Left Ribbon Wrap*/ #nav:before { left: 0; border-width: 0px 0px 20px 20px; border-color: transparent transparent #3497b5 transparent; } /*Right Ribbon Wrap*/ #nav:after { right: 0; border-width: 20px 0px 0px 20px; border-color: transparent transparent transparent #3497b5; } /*Nav Styles*/ #nav ul { width: 100%; list-style: none; margin: 0px; text-align: center; } #nav li { display: inline; padding: 10px; } #nav a { text-decoration: none; color: white; text-align: center; } #nav a:hover { color: navy;
Related:
See More
Free Template
Fresh Bootstrap Table
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76