Ive just downloaded Draggable and throwProps and having a play and doing a little reading on the api… what I’m looking to do is have a div (100% by 100%) scroll out of the viewport (out the top of the browser) but keep 10% of it still visible so i can drag it back down.
I want to achieve this without creating a container for the scrollable div which would be positioned out of the viewport…… any ideas peeps
Draggable and ThrowProps (scroll out of the viewport)
in GSAP
Posted
Hi All,
hoping for a little advice please
Ive just downloaded Draggable and throwProps and having a play and doing a little reading on the api… what I’m looking to do is have a div (100% by 100%) scroll out of the viewport (out the top of the browser) but keep 10% of it still visible so i can drag it back down.
I want to achieve this without creating a container for the scrollable div which would be positioned out of the viewport…… any ideas peeps
Cheers
Craig