Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Hands are broken on mobile (safari browser) #1

Open
0xchya opened this issue Dec 27, 2024 · 0 comments
Open

.Hands are broken on mobile (safari browser) #1

0xchya opened this issue Dec 27, 2024 · 0 comments

Comments

@0xchya
Copy link

0xchya commented Dec 27, 2024

The 6th picture (.hands) are cropped to very small part of the original picture when opened in safari / mobile. Though it's works fine on google chrome (desktop) and chrome (mobile emulator)

background-attachment: fixed;

I have modified as follow, it's work fine on safari / mobile, but the animation is bad, unlike the original where the picture are covered by the next container.

.hands {
height: 120vh;
width: 100%;
background-image: url(xxxx);
background-position: center;
background-repeat: no-repeat;
background-size: 100% auto;
-webkit-background-size: cover;
}

@media (max-width: 1000px) {
.hands {
background-image: url(xxx);
background-size: 100% auto;
background-position: center center;
background-repeat: no-repeat;
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant