"Css3 Transform Rotate Bar"
Bootstrap 4.1.1 Snippet by Eliasmia

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.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


Questions / Comments: