Jump to content
Search Community

How to create a draggable slider

Laurie
Moderator Tag

Recommended Posts

Posted

Hey,

 

I saw this post about the conception draggable slider using GSAP.

I search for a tutorial to make this type of slider for hours, but I don't find it.

So, I'm wondering if someone knows a good tutorial to create this.

 

Thanks a lot,

 

Laurie

See the Pen GebNVz by cedi44 (@cedi44) on CodePen.

ZachSaucier
Posted

Hey Laurie.

 

3 hours ago, Laurie said:

I search for a tutorial to make this type of slider for hours, but I don't find it.

So, I'm wondering if someone knows a good tutorial to create this.

So you are wanting someone to explain the code of this pen? What specific questions do you have?

  • Like 2
Posted

hey 

i'm new to this stuff 

i really want to learn how to do the draggable slider

i think it gonna be useful in my school's project 

thanks in advance

ZachSaucier
Posted

I think you should start out with the basics of GSAP. We have a great getting started article:

 

Then you can read about Draggable in the Draggable docs. After you've done both of those (and learned from any linked pages that you see that may be relevant), try taking a look at the code in the demo above. If you have specific questions, feel free to ask them here.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...