On Scroll image size transistion
-
Hi everybody - dont you know if it is possible to achieve something like this: https://sameold.com with some simple js or css? Image size change while scrolling. Thanks!
-
use javascript!
you basically take the getboundingclientrect() bottom value
and on scroll set the height to that value
and then make sure the image doesnt get too big or too small
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com