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

Slow Image Transition Loading #10

Open
pushkaraj007 opened this issue Jul 25, 2023 · 0 comments
Open

Slow Image Transition Loading #10

pushkaraj007 opened this issue Jul 25, 2023 · 0 comments

Comments

@pushkaraj007
Copy link

The image transition time ( image animation ) is a bit more , that's why the website appears to be blank when scrolling downwards .

Solution :-
In the style.css file, make the following changes:

--img-transition: 0.1s;
--img-hidden: hidden;
--img-scale: scale(1.1);
}

@media screen and (max-width: 767px) {
.nav__menu {
position: fixed;
background-color: var(--body-color);
top: 0;
right: -100%;
width: 70%;
height: 100%;
box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
padding: 3rem;
transition: .2s;
}
}

Decreased the image transtion time from 0.3s to 0.1s & Media screen loading time from 0.4s to 0.2s.

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