"product carousel"
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 lang='en' 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/nikname/pen/bBeJLN?depth=everything&order=popularity&page=22&q=product&show_forks=false" /> <style class="cp-pen-styles">@import url("https://fonts.googleapis.com/css?family=Hind:400,700"); html, body { font-family: 'Hind', sans-serif; margin: 0; padding: 0; background-color: #d9e2fd; width: 100%; height: 100%; } img { max-width: 100%; height: auto; display: block; } h3 { text-align: center; font-weight: 400; margin-bottom: 0; } .carousel-wrapper { position: relative; width: 70%; height: 70%; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #FFFFFF; background-image: linear-gradient(#FFFFFF 50%, #FFFFFF 50%, #F0F3FC 50%); box-shadow: 0px 12px 39px -19px rgba(0, 0, 0, 0.75); overflow: hidden; } .carousel-wrapper .carousel { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; height: auto; } .carousel-wrapper .carousel .carousel-cell { padding: 10px; background-color: #FFFFFF; width: 20%; height: auto; min-width: 120px; margin: 0 20px; transition: transform 500ms ease; } .carousel-wrapper .carousel .carousel-cell .more { display: block; opacity: 0; margin: 5px 0 15px 0; text-align: center; font-size: 10px; color: #CFCFCF; text-decoration: none; transition: opacity 300ms ease; } .carousel-wrapper .carousel .carousel-cell .more:hover, .carousel-wrapper .carousel .carousel-cell .more:active, .carousel-wrapper .carousel .carousel-cell .more:visited, .carousel-wrapper .carousel .carousel-cell .more:focus { color: #CFCFCF; text-decoration: none; } .carousel-wrapper .carousel .carousel-cell .line { position: absolute; width: 2px; height: 0; background-color: black; left: 50%; margin: 5px 0 0 -1px; transition: height 300ms ease; display: block; } .carousel-wrapper .carousel .carousel-cell .price { position: absolute; font-weight: 700; margin: 45px auto 0 auto; left: 50%; transform: translate(-50%); opacity: 0; transition: opacity 300ms ease 300ms; } .carousel-wrapper .carousel .carousel-cell .price sup { top: 2px; position: absolute; } .carousel-wrapper .carousel .carousel-cell.is-selected { transform: scale(1.2); } .carousel-wrapper .carousel .carousel-cell.is-selected .line { height: 35px; } .carousel-wrapper .carousel .carousel-cell.is-selected .price, .carousel-wrapper .carousel .carousel-cell.is-selected .more { opacity: 1; } .carousel-wrapper .flickity-page-dots { display: none; } .carousel-wrapper .flickity-viewport, .carousel-wrapper .flickity-slider { overflow: visible; } </style></head><body> <link rel="stylesheet" href="https://unpkg.com/flickity@2.0/dist/flickity.min.css"> <script src="https://unpkg.com/flickity@2.0/dist/flickity.pkgd.min.js"></script> <div class="carousel-wrapper"> <div class="carousel" data-flickity> <div class="carousel-cell"> <h3>Product 1</h3> <a class="more" href="">Explore more</a> <img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" /> <div class="line"></div> <div class="price"> <span>225<sup>€</sup></span> </div> </div> <div class="carousel-cell"> <h3>Product 2</h3> <a class="more" href="">Explore more</a> <img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" /> <div class="line"></div> <div class="price"> <span>225<sup>€</sup></span> </div> </div> <div class="carousel-cell"> <h3>Product 3</h3> <a class="more" href="">Explore more</a> <img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" /> <div class="line"></div> <div class="price"> <span>225<sup>€</sup></span> </div> </div> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script> <script >// (╯°□°)╯︵ ┻━┻ //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: