Hello everyone!
I need help to edit this liquid code in order to make the gif stay in the fixed position(as it is sliding to the right), whenever the webpage is rescaled:
body {
margin: 0;
display: flex;
justify-content: flex-end; /* Align content to the right */
align-items: center;
height: 100vh;
}
.gif-container {
text-align: center;
margin-right: -580px; /* Adjust margin to move GIF to the right */
}
.gif-container img {
max-width: 4%; /* Set image size */
height: auto;
}
@media (max-width: 767px) {
.gif-container {
margin-right: 0;
}
.gif-container img {
max-width: 20%;
}
}
Link to the page: https://0b798d-3.myshopify.com/pages/about-us
Looking forward to your replies,
Best wishes,
Farid Mirzayev