"SubNav Test"
Bootstrap 4.1.1 Snippet by sparkktv

<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 ----------> <div id="subnav" class="padded-container"> <div class="line"></div> <div class="nav-prev"></div> <ul class="subnav__items" aa-region="show header"> <li> <a class="active" href="/shows/star-trek-discovery/" aa-link="show header||show home|||Star Trek: Discovery|||||"> Star Trek: Discovery</a> </li> <li> <a href="/shows/star-trek-discovery/video/" aa-link="show header||Full Episodes||Star Trek: Discovery|||||"> Full Episodes</a> </li> <li> <a href="/shows/star-trek-discovery/news/" aa-link="show header||News||Star Trek: Discovery|||||"> News</a> </li> <li> <a href="/shows/star-trek-discovery/photos/" aa-link="show header||Photos||Star Trek: Discovery|||||"> Photos</a> </li> <li> <a href="/shows/star-trek-discovery/cast/" aa-link="show header||Cast||Star Trek: Discovery|||||"> Cast</a> </li> <li> <a href="/shows/star-trek-discovery/about/" aa-link="show header||About||Star Trek: Discovery|||||"> About</a> </li> <li> <a href="https://www.cbsstore.com/collections/star-trek-discovery?utm_source=cbs&utm_medium=referral&utm_campaign=star-trek-discovery" target="_blank" aa-link="show header||Shop||Star Trek: Discovery|||||"> Shop</a> </li> <li class="subnav__items--tuneInfo">New Season 2020</li></ul> <div class="nav-next"></div> </div>
body{background-color:#212125;} header #subnav{background: transparent;transition: background .4s ease-in-out;} #subnav {color: #fff;font-family: Proxima Nova SemiBold,sans-serif;font-size: 14px;font-weight: 400;line-height: 16px;letter-spacing: .4px;height: 56px;line-height: 56px;} body:not([touch-enabled="true"]) #subnav .line {width: 100%;margin: 0;} #subnav .line {background-color: hsla(0,0%,100%,.1);height: 1px;} body:not([touch-enabled="true"]) #subnav .nav-next, body:not([touch-enabled="true"]) #subnav .nav-prev {cursor: pointer;background-size: 16px 20px;content: "";width: 27px;height: 100%;background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjU1IDE4LjgxNGMuMTI0LjEyNC4yOC4xODYuNDUuMTg2YS42MzcuNjM3IDAgMDAuNDUtMS4wODZMNi41MzYgMTBsNy45MTQtNy45MTRhLjYzNy42MzcgMCAwMC0uOS0uOUw1LjE4NiA5LjU1YS42MzcuNjM3IDAgMDAwIC45bDguMzY0IDguMzY0eiIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+");background-repeat: no-repeat;background-position: -3px;transform: rotateY(0deg) translateZ(-1px);} body:not([touch-enabled="true"]) #subnav .nav-prev {opacity: .35;} body:not([touch-enabled="true"]) #subnav .nav-next {transform: rotateY(180deg) translateZ(-1px);} #subnav .nav-next, #subnav .nav-prev {display: none;} #subnav ul.subnav__items {display: flex;align-items: center;position: relative;width: 100%;overflow: hidden;height: inherit;max-height: 56px;white-space: nowrap;} #subnav ul.subnav__items li {display: block;margin-right: 24px;} #subnav ul.subnav__items a.active {font-family: Proxima Nova SemiBold,sans-serif;font-weight: 700;color: #fff;} #subnav ul.subnav__items a {position: relative;font-family: Proxima Nova Regular,sans-serif;color: hsla(0,0%,100%,.85);} #subnav ul.subnav__items li.subnav__items--tuneInfo {color: hsla(0,0%,100%,.85);margin-left: auto;margin-right: 0;}

Related: See More


Questions / Comments: