Grow your CSS skills. Land your dream job.

Make Element Move with Scroll

  • # July 26, 2012 at 9:57 pm

    I don’t know if it’s because it’s late, but for the life of me I can’t work out how to do this. I want a piece of string to, when you scroll the page it looks like it’s being pulled. What’s the best way to go about this?

    Thanks in advance.

    # July 27, 2012 at 5:15 am

    Are you suggesting that the ‘string’ would straighten? You can’t do that with css ‘string’ AFAIK.

    I suppose it might be possible with a canvas element or perhaps you could fake something with a huge image and positioning.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".