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
"Css3 Transform Rotate Bar"
Bootstrap 4.1.1 Snippet by
cleudiney
4.1.1
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
129
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!--================= Rotate Bar ==================--> <div class="rotate-bar"> <div class="container-fluid p0"> <div class="row"> <div class="col-md-4"> <div class="title">css3 Transform Rotate Bar</div> </div> <div class="col-md-8"> <div class="tab-menu"> <ul> <li><a href=""><span>Home</span></a></li> <li><a href=""><span>About us</span></a></li> <li class="active"><a href=""><span>Service</span></a></li> <li><a href=""><span>News</span></a></li> <li><a href=""><span>Contact Us</span></a></li> </ul> </div> </div> </div> </div> </div>
/*============ Rotate Bar style ============*/ .p0{ padding: 0 !important; } ul, ol, li{ margin: 0; padding: 0; list-style: none; } a, a:hover,a:focus{ display: inline-block; outline: none; text-decoration: none; } .rotate-bar { background: #404041; height: 60px; overflow-x: hidden; } .title { background: #e51937 none repeat scroll 0 0; color: #ffffff; font-size: 18px; font-weight: normal; line-height: 60px; padding-right: 35px; position: relative; text-align: right; text-transform: uppercase; } .title::after { background: #e51937; bottom: 0; content: ""; display: block; height: 60px; position: absolute; right: -29px; top: 0; width: 50px; transform: skew(-30deg); } .tab-menu{ position: relative; } .tab-menu ul li{ float: left; border-right: 1px solid #e51937; transform: skew(-30deg); } .tab-menu ul li a { color: #ffffff; display: block; font-size: 18px; font-weight: normal; line-height: 60px; padding: 0 35px; text-transform: uppercase; -webkit-transition: all 700ms ease; -moz-transition: all 700ms ease; -ms-transition: all 700ms ease; -o-transition: all 700ms ease; transition: all 700ms ease; } .tab-menu ul li a:hover, .tab-menu ul li.active a{ background: #e51937; } .tab-menu ul li a span{ transform: skew(30deg); display: block; }
Related:
See More
Free Template
Vue Paper Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76