I tried to make the width of the div increase while scrolling down. Who know how to do this with pure JS?
.about {
overflow: hidden;
z-index: 2;
width: 50%;
height: 100vh;
display: flex;
padding: 10vw 0;
margin: 0 auto;
background: url('./img/pexels-alesia-kozik-5989895.jpg') no-repeat;
transition: width .5s;
}
<div class="about">
<div class="container">
<h6 class="font_caps">/ Introduction</h6>
<h2 class="lead">Accelerating Global Brands — Years ahead.</h2>
<p class="lead">We are a world—class team of industry—leading professionals, who constantly push new technology to its limits.</p>
</div>
</div>