in the normal desktop mode, every section loads with specific animation like “from bottom to top” and etc. but in the responsive mode and mobile size, these animations are disabled. how can i enable them in the mobile size ?
this is the responsive file for my site : responsive.css (11.7 KB)
In you css file, you specify that the animations are only to work when the screen is 769 pixels width or larger:
@media only screen and (min-width: 769px)
For smaller screens, you have left the @media css blank, meaning that the above content will not work below its size:
@media only screen and (max-width: 768px) {
}
If you want the full screen to work on smaller screens as well, with no modifications, then change the min-width: 769px to something mobile sized and drop the last @media query.
yeah! thank you! that problem is solved, now i have a new one! in some sections(like i mentioned in picture), it took too long to load the animation … i need to scroll the whole website and then go back and see the that section is loaded. see this picture :
That page is huge; it’s no wonder it’s slow to load.
Are all those styles actually in use, or can you remove unused styles to reduce the size of the documents? Also try to combine stylesheets, to make fewer server requests; likewise for the scripts.