<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/Podgro/pen/gLerwJ?depth=everything&order=popularity&page=96&q=shop&show_forks=false" />
<style class="cp-pen-styles">@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,700|Roboto+Slab:100,300,400,700');
* {
margin:0;
padding:0;
outline:none;
list-style:none;
text-decoration:none;
box-sizing:border-box;
color:#111;
background: transparent;
border:none;
}
body {
background: #EAEAEA;
font-family: 'Roboto Slab', serif;
font-size: 18px;
background: url(../img/fixedbg.jpg) no-repeat center center;
background-attachment: fixed;
background-size: cover;
}
h1, h2, h3, h4, h5 {
font-family: 'Oswald', sans-serif;
}
.wrap {
position: relative;
font-size: 0;
}
.col-2 {
font-size: 1rem;
height: 100vh;
width: 50%;
display: inline-block;
position: relative;
}
.col-2 .container {
position: absolute;
top: 0;bottom: 0;right: 0;
margin: auto;
height: 80%;
min-height: 400px;
width: 80%;
}
.col-2:nth-of-type(2) .container{
left: 0;
right: inherit;
}
.col-2 .container .bg {
position: absolute;
top: 0;right: 3%;
height: 100%;
width: 60%;
z-index: 0;
background-image: url(https://images.unsplash.com/photo-1470434767159-ac7bf1b43351?dpr=1.25&auto=compress,format&fit=crop&w=376&h=564&q=80&cs=tinysrgb&crop=);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
filter: blur(3px);
-webkit-filter: blur(3px);
transform: scale(0.9);
-webkit-transform: scale(0.9);
transition:0.5s transform ease-in-out 0.15s, 0.5s filter ease-in-out 0.15s, 0.5s right ease-in-out, z-index 0s linear 0.5s;
-webkit-transition:0.5s transform ease-in-out 0.15s, 0.5s filter ease-in-out 0.15s, 0.5s right ease-in-out, z-index 0s linear 0.5s;
}
.col-2:nth-of-type(1) .container.active .bg {
filter: blur(0);
-webkit-filter: blur(0);
transform: scale(1);
-webkit-transform: scale(1);
right:-7%;
z-index: 1;
transition:0.5s transform ease-in-out, 0.5s filter ease-in-out, 0.5s right ease-in-out 0.15s, z-index 0s linear 0.5s;
-webkit-transition:0.5s transform ease-in-out, 0.5s filter ease-in-out, 0.5s right ease-in-out 0.15s, z-index 0s linear 0.5s;
}
.col-2:nth-of-type(2) .container .bg {
right: inherit;
left:3%;
transition:0.5s transform ease-in-out 0.15s, 0.5s filter ease-in-out 0.15s, 0.5s left ease-in-out, z-index 0s linear 0.5s;
-webkit-transition:0.5s transform ease-in-out 0.15s, 0.5s filter ease-in-out 0.15s, 0.5s left ease-in-out, z-index 0s linear 0.5s;
}
.col-2:nth-of-type(2) .container.active .bg {
filter: blur(0);
-webkit-filter: blur(0);
transform: scale(1);
-webkit-transform: scale(1);
left:-7%;
z-index: 1;
transition:0.5s transform ease-in-out, 0.5s filter ease-in-out, 0.5s left ease-in-out 0.15s, z-index 0s linear 0.5s;
-webkit-transition:0.5s transform ease-in-out, 0.5s filter ease-in-out, 0.5s left ease-in-out 0.15s, z-index 0s linear 0.5s;
}
.col-2 .container .content {
text-align: right;
position: absolute;
z-index: 3;
top: 50%;
right:64%;
transform: translateY(-50%);
display: inline-block;
}
.col-2:nth-of-type(2) .container .content {
right: inherit;
left:64%;
text-align: left;
}
.col-2 .container p {
margin-bottom: 20px;
opacity: 0;
transition: 0.5s all ease-out 0.1s;
transform: translateY(50%);
-webkit-transform: translateY(50%);
}
.col-2 .container p:nth-of-type(2) {
transition-delay:0.3s;
}
.col-2 .container p:nth-of-type(3) {
transition-delay:0.4s;
}
.col-2 .container.active p {
opacity: 1;
transform: translateY(0);
-webkit-transform: translateY(0);
}
.col-2 .container .content h2{
font-size: 72px;
text-transform: uppercase;
margin-bottom: 30px;
letter-spacing: 1px;
opacity: 0.7;
}
.col-2:nth-of-type(1) .container h2 {
transform: translate3d(0,0,0);
transition:0.5s transform ease-in-out, 0.5s font-size ease-in-out 0.2s;
-webkit-transition:0.5s transform ease-in-out, 0.5s font-size ease-in-out 0.2s;
}
.col-2:nth-of-type(1) .container.active h2 {
opacity: 1;
font-size: 100px;
transform: translate3d(30%,0,0);
transition:0.5s transform ease-in-out 0.2s, 0.5s font-size ease-in-out;
-webkit-transition:0.5s transform ease-in-out 0.2s, 0.5s font-size ease-in-out;
}
.col-2:nth-of-type(2) .container h2 {
transform: translate3d(0,0,0);
transition:0.5s transform ease-in-out, 0.5s font-size ease-in-out 0.2s;
-webkit-transition:0.5s transform ease-in-out, 0.5s font-size ease-in-out 0.2s;
}
.col-2:nth-of-type(2) .container.active h2 {
opacity: 1;
font-size: 100px;
transform: translate3d(-30%,0,0);
transition:0.5s transform ease-in-out 0.2s, 0.5s font-size ease-in-out;
-webkit-transition:0.5s transform ease-in-out 0.2s, 0.5s font-size ease-in-out;
}</style></head><body>
<section>
<div class="wrap">
<div class="col-2">
<div class="container active">
<div class="bg"></div>
<div class="content">
<h2>Barber</h2>
<p>Infos</p>
<p>Rendez-vous</p>
<p>Tarifs</p>
</div>
</div>
</div>
<div class="col-2">
<div class="container">
<div class="bg"></div>
<div class="content">
<h2>Shop</h2>
<p>Nouveautés</p>
<p>Promos</p>
<p>Catégories</p>
</div>
</div>
</div>
</div>
</section>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script >$('.col-2 .container').mouseover(function(){
$('.col-2 .container').removeClass('active');
$(this).addClass('active');
});
//# sourceURL=pen.js
</script>
</body></html>