"slider + nav"
Bootstrap 3.0.0 Snippet by evarevirus

<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 ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/EleftheriaBatsou/pen/zBWNyB?limit=all&page=60&q=about+us" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css'> <style class="cp-pen-styles">/* General */ .container { width: 960px; } /* Header */ .header { background-color: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #ddd; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 17px; padding: 15px; } /* Menu */ .header .menu { float: right; list-style: none; margin-top: 5px; } .menu > li { display: inline; padding-left: 20px; padding-right: 20px; } .menu a { color: #898989; } /* Dropdown */ .dropdown-menu { font-size: 16px; margin-top: 5px; min-width: 105px; } .dropdown-menu li a { color: #898989; padding: 6px 20px; font-weight: 300; } /* Carousel */ .slider { position: relative; width: 100%; height: 470px; border-bottom: 1px solid #ddd; } .slide { background: transparent url('https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/feature-gradient-transparent.png') center center no-repeat; background-size: cover; display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .active-slide { display: block; } .slide-copy h1 { color: #363636; font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 40px; margin-top: 105px; margin-bottom: 0px; } .slide-copy h2 { color: #b7b7b7; font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 40px; margin: 5px; } .slide-copy p { color: #959595; font-family: Georgia, "Times New Roman", serif; font-size: 1.15em; line-height: 1.75em; margin-bottom: 15px; margin-top: 16px; } .slide-img { text-align: right; } /* Slide feature */ .slide-feature { text-align: center; background-image: url('https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/ac.png'); height: 470px; } .slide-feature img { margin-top: 112px; margin-bottom: 28px; } .slide-feature a { display: block; color: #6fc5e0; font-family: "HelveticaNeueMdCn", Helvetica, sans-serif; font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 20px; } .slider-nav { text-align: center; margin-top: 20px; } .arrow-prev { margin-right: 45px; display: inline-block; vertical-align: top; margin-top: 9px; } .arrow-next { margin-left: 45px; display: inline-block; vertical-align: top; margin-top: 9px; } .slider-dots { list-style: none; display: inline-block; padding-left: 0; margin-bottom: 0; } .slider-dots li { color: #bbbcbc; display: inline; font-size: 30px; margin-right: 5px; } .slider-dots li.active-dot { color: #363636; } /* App links */ .get-app { list-style: none; padding-bottom: 9px; padding-left: 0px; padding-top: 9px; } .get-app li { float: left; margin-bottom: 5px; margin-right: 5px; } .get-app img { height: 40px; }</style></head><body> <html> <head> <link href='https://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet'> <link href="https://s3.amazonaws.com/codecademy-content/courses/ltp2/css/bootstrap.min.css" rel="stylesheet"> <link href="style.css" rel="stylesheet"> </head> <body> <div class="header"> <div class="container"> <a href="#" class="logo-icon"> <img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/logo.png"> </a> <ul class="menu"> <li><a href="#">Get the App</a></li> <li><a href="#">Tutorials</a></li> <li><a href="#">Magazines</a></li> <li><a href="#">Web Tools</a></li> <li><a href="#">Support</a></li> <li><a href="#">Careers</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle">More <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Community</a></li> <li><a href="#">Our Blog</a></li> <li><a href="#">Maps Blog</a></li> <li><a href="#">Eng Blog</a></li> <li><a href="#">Advertisers</a></li> <li><a href="#">Publishers</a></li> <li><a href="#">About Us</a></li> </ul> </li> </ul> </div> </div> <div class="slider"> <div class="slide active-slide"> <div class="container"> <div class="row"> <div class="slide-copy col-xs-5"> <h1>Flipboard Is Your Personal Magazine</h1> <p>It's a single place to discover, collect and share the news you care about. Add your favorite social networks, publications and blogs to stay connected to the topics and people closest to you.</p> <ul class="get-app"> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/ios.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/android.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/windows.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/blackberry.png"></a></li> </ul> </div> <div class="slide-img col-xs-7"> <img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/home.png" width="540px"> </div> </div> </div> </div> <div class="slide slide-feature"> <div class="container"> <div class="row"> <div class="col-xs-12"> <a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/cnn.png"></a> <a href="#">Read Now</a> </div> </div> </div> </div> <div class="slide"> <div class="container"> <div class="row"> <div class="slide-copy col-xs-5"> <h1>Enjoy Flipboard Magazines</h1> <h2>on the Web</h2> <p>Millions of people use Flipboard to read and collect the news they care about, curating their favorite stories into their own magazines on any topic imaginable. Now magazines created by our readers, from Dali to End Trafficking, can be shared and enjoyed on the Web by anyone, anywhere.</p> </div> <div class="slide-img col-xs-7"> <img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/magazines.png"> </div> </div> </div> </div> <div class="slide"> <div class="container"> <div class="row"> <div class="slide-copy col-xs-5"> <h1>Badges & Widgets</h1> <p>Millions of people use Flipboard to read and collect the news they care about, curating their favorite stories into their own magazines. Now you can promote the ones you create or think are awesome.</p> <ul class="get-app"> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/ios.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/android.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/windows.png"></a></li> <li><a href="#"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/blackberry.png"></a></li> </ul> </div> <div class="slide-img col-xs-7"> <img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/bw.png" width="540px"> </div> </div> </div> </div> </div> <div class="slider-nav"> <a href="#" class="arrow-prev"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/arrow-prev.png"></a> <ul class="slider-dots"> <li class="dot active-dot">•</li> <li class="dot">•</li> <li class="dot">•</li> <li class="dot">•</li> </ul> <a href="#" class="arrow-next"><img src="https://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/arrow-next.png"></a> </div> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="app.js"></script> </body> </html> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://code.jquery.com/jquery-2.2.4.min.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js'></script> <script >var main = function() { $('.dropdown-toggle').click(function() { $('.dropdown-menu').toggle(); }); $('.arrow-next').click(function() { var currentSlide = $('.active-slide'); var nextSlide = currentSlide.next(); var currentDot = $('.active-dot'); var nextDot = currentDot.next(); if(nextSlide.length === 0) { nextSlide = $('.slide').first(); nextDot = $('.dot').first(); } currentSlide.fadeOut(600).removeClass('active-slide'); nextSlide.fadeIn(600).addClass('active-slide'); currentDot.removeClass('active-dot'); nextDot.addClass('active-dot'); }); $('.arrow-prev').click(function() { var currentSlide = $('.active-slide'); var prevSlide = currentSlide.prev(); var currentDot = $('.active-dot'); var prevDot = currentDot.prev(); if(prevSlide.length === 0) { prevSlide = $('.slide').last(); prevDot = $('.dot').last(); } currentSlide.fadeOut(600).removeClass('active-slide'); prevSlide.fadeIn(600).addClass('active-slide'); currentDot.removeClass('active-dot'); prevDot.addClass('active-dot'); }); } $(document).ready(main); //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: