I'm currently working on developing a website that features a unique wave effect at the bottom of the 'hero' image. From my research, I've learned that this can be achieved by cropping the bottom part of the image, making modifications, and then displaying it separately from the original.
The problem I'm facing is that the footer of the image does not appear in the same scale or ratio as the main image, which gives it an awkward look (view here).
html,
body {
height: 10000px;
}
.hero-image {
height: 100vh;
min-height: 400px;
background-size: cover;
background-image: url("../imgs/hero_image.jpeg");
color: #000;
min-height: 90vh;
justify-content: center;
align-items: center;
display: flex;
}
.hero-image-footer {
height: 100vh;
/*min-height: 400px; */
background-size: cover;
background-image: url("../imgs/Untitled-1.jpg");
/* background-color: aqua; */
color: #000;
/* min-height: 90vh; */
justify-content: center;
align-items: center;
display: flex;
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="284a47475c5b5c5a4958681d061b">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="64060b0b10171016051424514a574a54">[email protected]</a>/dist/js/bootstrap.bundle.min.js"></script>
<header class="hero-image">
</header>
...