jquery - Animate a div when the user can see it -
how can move/bounce div when user can see while scrolling page? without knowing position of scrollbar... possible via html5/css only?
thank you
use css , apply fixed property div. example:
<html> <head> <style> .fixedposition{ position: fixed; top:100px; left:100px; } </style> </head> <body> <div class = "fixedposition">awesome content</div> </body> </html> so answer other part of question, absolutely possible html5 , css. can use javascript , jquery if wish.
Comments
Post a Comment