-1
I wanted to make the effect of that video: https://www.youtube.com/watch?v=lZ-OO7x75Rc. If anyone can help me, I’d appreciate it.
*
{
    margin: 0;
    padding: 0;
}
body
{
    height: 200vh;
    background: #111;
}
section
{
    position: absolute;
    width: 100%;
    height: calc(100% - 200px); 
    background: #2abbff;
}
section .curve
{
    position: absolute;
    bottom: -200px;
    height: 200px;
    width: 100%;
    transform-origin: top;
}
section .curve img
{
    width: 100%;
    height: 100%;
}<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <section>
        <span class="curve">
            <img src="curve.png">
        </span>
    </section>
    <script type="text/javascript">
        var scroll = document.querySelector('.curve');
        window.addEventListener('scroll', function() {
            var value = 1 + window.scrollY/-500;
            scroll.style.transform = 'scaleY(${value})';
        })
    </script>
</body>
</html>