<div id="hero-split">
<div id="half">
<div class="one">
<div class="block-reveal">
<div class="block-reveal-inner">
<img src="http://lp3.1a5.myftpupload.com/wp-content/uploads/2019/02/redhead.jpg" alt="" class="img-fluid">
</div>
</div>
<div id="scroll-wrapper">
<div id="scroll-wrapper-inner">
<div id="scroll-title">
Scroll
</div>
<div id="scroll-down">
</div>
</div>
</div>
<div class="r-work vw2 hide">REECH STUDIO </div>
</div>
</div>
<div id="half">
<div class="two">
<div class="bg-1"></div>
<div class="bg-2"></div>
<div class="intro-holder">
<div class="numb">01</div>
<div class="h-txt">we cultivate - </div>
<div class="h-txt">brands socially.</div>
</div>
<div class="dots"></div>
<div class="cent-img"></div>
<div class="social-wrapper">
<ul>
<li><a href "#"><i class="fa fa-facebook"></i></a></li>
<li><a href "#"><i class="fa fa-twitter"></i></a></li>
<li><a href "#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
<div class="v-work hide">
<div class="v-work-inner">
<div class="sc"><a href="#"> VIEW OUR WORK BELOW <span class="hide-wave"></span> </a></div>
</div>
</div>
</div>
</div>
</div>
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
top: 0px;
left: 0px;
margin: 0 auto;
height: 100%;
}
/*..................*/
#hero-split {
display: -webkit-flex;
display: flex;
height: 100vh;
width: 100%;
margin-bottom: 0;
}
#half {
width: 50%;
margin-bottom: 0;
}
.one {
width: 50%;
height: 100vh;
position: absolute;
left: 0;
}
.two {
width: 50%;
height: 100vh;
position: absolute;
right: 0;
}
.bc {
background: #5d5c69 !important;
}
#one {
}
/*..............*/
@media (max-width: 768px) {
.hide {
display: none !important;
}
}
@media (max-width: 768px) {
#hide {
display: none !important;
}
}
/*.......Sec Two...........*/
.bg-1 {
position: absolute;
height: 50% !important;
bottom: 0;
background-color: #e54b4b;
width: 100%;
z-index: 2;
right: 0;
}
.bg-2 {
position: absolute;
height: 50%;
top: 0;
background-color: #5d5c69;
width: 100%;
right: 0;
}
/*.......Sec One...........*/
.cent-img {
position: absolute;
margin: 0 auto;
top: 10rem;
background-image: url(http://lp3.1a5.myftpupload.com/wp-content/uploads/2019/02/dan-eye.jpeg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
height: 56vh;
width: 40vw;
z-index: 2;
}
@media (max-width: 768px) {
.cent-img {
padding-left: 2rem;
padding-right: 2rem;
height: 76%;
width: 100%;
position: absolute;
left: 0;
right: 0;
top: 5rem;
}
}
.dots {
position: absolute;
margin: 0 auto;
top: 40vh;
left: 9vw;
background-image: url(http://reech.ca/wp-content/uploads/2018/08/w-dots2.svg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
height: 26vh;
width: 22vw;
z-index: 2;
}
@media (max-width: 768px) {
.dots {
padding-left: 4rem;
padding-right: 4rem;
height: 28%;
width: 80%;
position: absolute;
left: 0;
right: 0;
top: 14.6em;
}
}
/*.........Block Reval...............*/
.block-reveal {
position: relative;
overflow: hidden;
height: 100vh;
}
block-reveal img {
top: 0;
left: 0;
position: absolute;
object-fit: cover;
}
.block-reveal-inner:after {
content: "";
position: absolute;
z-index: 2;
top: 0;
right: -.1rem;
bottom: 0;
left: -.1rem;
background-color: #eee;
-webkit-animation-duration: 1.15s;
animation-duration: 1.15s;
-webkit-transform-origin: right center;
-ms-transform-origin: right center;
transform-origin: right center;
-webkit-transform: translateZ(0) scaleY(1) scaleX(0);
transform: translateZ(0) scaleY(1) scaleX(0);
}
.block-reveal-inner:after {
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
-webkit-animation-timing-function: cubic-bezier(.81,.15,.26,.99);
animation-timing-function: cubic-bezier(.81,.15,.26,.99);
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
}
.block-reveal .img-fluid {
width: 100%;
height: 100vh;
object-fit: cover;
}
@media (max-width: 767px) {
.block-reveal .img-fluid {
height: 100vh;
}
}
.block-reveal-inner:after {
opacity: 1;
-webkit-transition-duration: 0s;
transition-duration: 0s;
animation: swipeIn 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}
/*....Swipe......*/
@keyframes swipeIn {
0% {
transform: translateX(100%);
}
50% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}
/*...........*/
.already-visible {
transform: translateY(0);
animation: none;
}
/*....... Hero Mobile...........*/
@media (max-width: 767px) {
#hero-split {
-webkit-flex: 1;
flex: 1;
bottom: 0;
position: relative;
}
}
@media (max-width: 767px) {
.one {
display: block;
width: 100%;
left: 0;
right: 0;
height: 100vh;
bottom: 0;
top: 0;
position: absolute;
border: none;
-webkit-flex: 1;
flex: 1;
}
}
@media (max-width: 767px) {
.two {
display: block;
width: 100% !important;
left: 0;
right: 0;
height: 100vh;
bottom: 0;
top: 100vh;
position: absolute;
border: none;
-webkit-flex: 2;
flex: 2;
}
}
/*............*/
.bl {
position: relative;
width: 100%;
}
.let {
position: absolute;
font-family: "Abril Fatface", cursive;
text-decoration: none;
color: #1e1d23;
font-weight: 400;
z-index: 2;
font-size: 8rem;
left: -11vw;
bottom: 34vh;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
opacity: 0.1 !important;
}
@media (max-width: 768px) {
.let {
left: -6.2rem;
bottom: 8rem;
}
}
/*......Scroll......*/
#scroll-wrapper {
display: table;
width: 20%;
position: absolute;
bottom: 16vh;
}
@media (max-width: 768px) {
#scroll-wrapper {
left: -2vw;
position: absolute;
height: 50%;
bottom: 0;
}
}
#scroll-wrapper-inner {
display: table-cell;
vertical-align: middle;
width: 100%;
position: absolute;
bottom: 1rem;
}
@media (max-width: 768px) {
#scroll-wrapper-inner {
left: -1rem;
position: relative;
bottom: -4rem;
}
}
#scroll-down {
display: block;
position: relative;
padding-top: 79px;
text-align: center;
}
#scroll-title {
display: block;
text-transform: uppercase;
color: #e54b4b;
font-family: "Poppins", sans-serif;
font-size: 0.6rem;
font-weight: 100;
letter-spacing: 0.4em;
text-align: center;
transform: rotate(90deg);
margin-bottom: 34px;
}
#scroll-down::before {
position: absolute;
top: 0px;
left: 50%;
margin-left: -1px;
width: 1px;
height: 60px;
background: #e54b4b;
content: " ";
}
/*............Social..........*/
.social-wrapper {
right: 6rem;
bottom: 6rem;
position: absolute;
z-index: 6;
}
@media (max-width: 768px) {
.social-wrapper {
right: 3vw;
bottom: 4.5rem;
}
}
.social-wrapper ul {
list-style: none;
padding: 0;
margin: 0;
}
.social-wrapper ul li:not(:last-child) {
margin-bottom: 2rem;
}
.social-wrapper a {
text-decoration: none;
color: #dad9ce;
cursor: pointer;
}
.social-wrapper a:hover {
cursor: pointer;
-webkit-transition: color 0.15s ease-out;
-moz-transition: color 0.15s ease-out;
transition: color 0.15s ease-out;
color: #27262d;
}
.social-wrapper::before {
position: absolute;
bottom: 120%;
left: 50%;
margin-left: -5px;
width: 1px;
height: 150px;
background: #dad9ce;
content: " ";
}
/*.......Intro-text...........*/
.intro-holder {
position: absolute;
margin: 11% 0;
width: 80%;
z-index: 999;
margin-left: 5vw;
top: 14vh;
}
@media (max-width: 768px) {
.intro-holder {
width: 100%;
margin: 0 auto;
top: 16vh;
padding-left: 13%;
padding-right: 13%;
}
}
.h-txt {
font-family: "Ozwald", sans-serif;
font-weight: 600;
color: #e54b4b;
font-size: 3rem;
z-index: 3;
text-align: left;
line-height: 3rem;
}
@media (max-width: 768px) {
.h-txt {
text-align: left;
font-size: 1.6rem;
line-height: 2rem;
}
}
.numb {
text-align: left;
font-size: 6rem;
color: #fff;
font-weight: 800;
z-index: -1;
font-family: "Poppins", sans-serif;
position: absolute;
top: -12vh;
left: 4vw;
opacity: 0.6;
}
@media (max-width: 768px) {
.numb {
left: 14vw;
}
}
/*............View Work..........*/
.v-work {
position: relative;
margin-bottom: 0;
top: 92.5%;
margin-left: 30.5vw;
width: 180px;
height: 40px;
overflow: hidden;
}
.v-work-inner {
position: absolute;
top:0;
bottom: -30px;
animation: slideInUp 4s ease;
z-index:3;
}
.r-work {
position: absolute;
bottom: 5.2vh;
left: 4.8vw;
font-family: "Poppins", sans-serif;
font-size: 0.8rem;
letter-spacing: 0.2em;
text-transform: uppercase;
font-weight: 600;
line-height: 1.4rem;
color: #e54b4b;
width: 12%;
padding: 1.4%;
border: solid 2px #e54b4b;
text-align: left;
box-shadow: 2px 2px 0;
}
.sc {
text-align: center;
line-height: 1;
opacity: 1;
visibility: visible;
-webkit-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.sc a {
font-family: "Poppins", sans-serif;
color: #dad9ce;
font-size: 0.8rem;
letter-spacing: 0.1em;
text-transform: uppercase;
font-weight: 500;
line-height: 1.4rem;
text-decoration: none;
display: block;
position: relative;
padding-bottom: 0.8rem;
overflow: hidden;
}
.sc a .hide-wave {
position: absolute;
min-width: 100%;
bottom: 0;
left: 0;
height: 0.7rem;
display: block;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
-webkit-transition: 0.7s ease-in-out;
transition: 0.7s ease-in-out;
overflow: hidden;
}
.sc a .hide-wave:after {
content: "";
position: absolute;
width: 100%;
bottom: 0;
left: 0;
height: 1rem;
background-position: 0;
background-repeat: repeat-x;
background-image: url(http://lp3.1a5.myftpupload.com/wp-content/uploads/2019/02/squiggly.png);
background-color: transparent;
background-size: 6rem 0.7rem;
-webkit-transition: background-position 400s linear,
-webkit-transform 0.7s ease-in-out;
transition: background-position 400s linear,
-webkit-transform 0.7s ease-in-out;
transition: transform 0.7s ease-in-out, background-position 400s linear;
transition: transform 0.7s ease-in-out, background-position 400s linear,
-webkit-transform 0.7s ease-in-out;
-webkit-transform: translate3d(100%, 0, 0) rotate(180deg);
transform: translate3d(100%, 0, 0) rotate(180deg);
}
.sc a:hover .hide-wave,
.sc-l a:hover .hide-wave {
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
.sc a:hover .hide-wave:after,
.sc-l a:hover .hide-wave:after {
-webkit-transform: translateZ(0) rotate(180deg);
transform: translateZ(0) rotate(180deg);
-webkit-animation: f 400s infinite linear;
animation: f 400s infinite linear;
}
var win = $(window);
var allMods = $("block-reveal");
allMods.each(function(i, el) {
var el = $(el);
if (el.visible(true)) {
el.addClass("already-visible");
}
});
win.scroll(function(event) {
allMods.each(function(i, el) {
var el = $(el);
if (el.visible(true)) {
el.addClass("block-reveal-inner");
}
});
});
This Pen doesn't use any external JavaScript resources.