<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/bhagasan/pen/RZBWKY?depth=everything&order=popularity&page=71&q=pack&show_forks=false" />
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.min.css'><link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Passion+One'>
<style class="cp-pen-styles">html, body {
position: relative;
height: 100%;
padding: 0;
margin: 0;
background-color: #c9d0d3;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
overflow: hidden;
}
.box-card {
position: relative;
margin: 50px auto;
max-width: 320px;
}
.swiper-container {
width: 100%;
height: 460px;
}
.swiper-wrapper {
transition: cubic-bezier(0.62, 0, 0, 0.98);
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
position: relative;
}
.swiper-slide:nth-child(2) .box-image:before, .swiper-slide:nth-child(2) .box-image:after {
display: none;
}
.swiper-slide .box-image {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.swiper-slide .box-image:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 0%;
height: 100%;
background-color: #c9d0d3;
transition: cubic-bezier(1, 0.02, 0.62, 1);
transition-duration: 1s;
transition-delay: 2s;
}
.swiper-slide .box-image:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #c9d0d3;
transition: cubic-bezier(1, 0.02, 0.62, 1);
transition-duration: 1s;
transition-delay: 1s;
}
.swiper-slide.swiper-slide-active {
position: relative;
}
.swiper-slide.swiper-slide-active .box-image:before {
left: -100%;
width: 100%;
transition-delay: 0s;
}
.swiper-slide.swiper-slide-active .box-image:after {
width: 0%;
transition-delay: 0s;
}
.gallery-thumbs {
position: absolute;
top: 50px;
left: -90px;
height: 180px;
width: 180px;
box-sizing: border-box;
padding: 10px 0;
-webkit-box-shadow: 0px 10px 47px -16px rgba(0, 0, 0, 0.7);
-moz-box-shadow: 0px 10px 47px -16px rgba(0, 0, 0, 0.7);
box-shadow: 0px 10px 47px -16px rgba(0, 0, 0, 0.7);
}
.gallery-thumbs .swiper-slide {
height: 100%;
opacity: 1;
text-align: left;
color: #323f4c;
background: #f7f7f7;
}
.gallery-thumbs .swiper-slide h1 {
font-size: 46px;
font-family: 'Passion One';
line-height: .8;
}
.gallery-thumbs .swiper-slide span {
display: block;
}
.gallery-thumbs .swiper-slide-active {
opacity: 1;
}
</style></head><body>
<div class="box-card">
<div class="swiper-container gallery-top">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="box-image" style="background-image:url(https://static.pexels.com/photos/433639/pexels-photo-433639.jpeg);"></div>
</div>
<div class="swiper-slide">
<div class="box-image" style="background-image:url(https://static.pexels.com/photos/436781/pexels-photo-436781.jpeg);"></div>
</div>
<div class="swiper-slide">
<div class="box-image" style="background-image:url(https://static.pexels.com/photos/454507/pexels-photo-454507.jpeg);"></div>
</div>
<div class="swiper-slide">
<div class="box-image" style="background-image:url(https://static.pexels.com/photos/390392/pexels-photo-390392.jpeg);"></div>
</div>
</div>
</div>
<div class="swiper-container gallery-thumbs">
<div class="swiper-wrapper">
<div class="swiper-slide">
<h1>HEAD<br>LINE I</h1><br>
</div>
<div class="swiper-slide">
<h1>HEAD<br>LINE II</h1><br>
</div>
<div class="swiper-slide">
<h1>HEAD<br>LINE III</h1><br>
</div>
<div class="swiper-slide">
<h1>HEAD<br>LINE IV</h1><br>
</div>
</div>
</div>
</div>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.jquery.min.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js'></script>
<script >var swiper = new Swiper('.gallery-top', {
spaceBetween: 0,
pagination: false,
loop: true,
simulateTouch: false,
speed: 2000,
autoplay: 3000,
autoplayDisableOnInteraction: false,
paginationClickable: false
});
var thumbs = new Swiper('.gallery-thumbs', {
spaceBetween: 0,
centeredSlides: true,
loop: true,
paginationClickable: false,
direction: 'vertical',
simulateTouch: false,
slideToClickedSlide: true
});
swiper.params.control = thumbs;
thumbs.params.control = swiper;
//# sourceURL=pen.js
</script>
</body></html>