CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Make Element Move with Scroll
realph
Permalink to comment
#
July 2012
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.
Paulie_D
Permalink to comment
#
July 2012
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.
Add a Comment
Thanks in advance.
I suppose it might be possible with a canvas element or perhaps you could fake something with a huge image and positioning.