Account Deleted
I think you forget to add background-repeat: no-repeat to .main-image selector. If U try to open your element on Galaxy Fold (From Chrome Developer Tools) you can see your background image start to repeating.
Also in my opinion if U can make something with Pure CSS don't this with JavaScript :)
Happy Coding :)
@tadomaitis
Posted
@cattofiq yeah, I did. I'll fix it and try in every device.
I didn't know I could do with Pure CSS. I'm not a fan of using needless JavaScript.
Thank you for your feedback.
Account Deleted
Yeah you can make many thing with Pure CSS and this is better for performance :)