Currently, I am working on an animation project with a specific end position that should resemble the image below. However, when viewed in resolutions lower than 1080p, the animation appears distorted as shown in this image: https://i.sstatic.net/SyqpZ.png
I have used responsive units such as "vw / %" in my code, so I'm surprised to see this issue occurring.
Here is the CSS code snippet:
body {
background-image: url("https://i.imgur.com/I6ixFFG.jpg");
}
/* background sky */
.fondo {
background-image: url("https://i.imgur.com/UAq0obS.png");
width: 50vw;
height: 20vw;
background-size: cover;
margin: 0 auto;
overflow: hidden;
position: relative;
}
// Remaining code snippets are included within the <pre><code> tags for better presentation