Jump to content

How to make words animate/transition


turkspartan

Recommended Posts

Create a div. Style it overflow:hidden. Put words in it inside some inner container such as a span. Style the span position:relative. Write a function that is called by a periodic timeout to change the relative position offset.

 

http://www.w3schools.com/css/css_display_visibility.asp

http://www.w3schools.com/css/css_positioning.asp

http://www.w3schools.com/js/js_timing.asp

http://www.w3schools.com/jsref/dom_obj_style.asp

Link to comment
Share on other sites

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
×
×
  • Create New...