i have a div with a fixed width but sometimes the text inside it can overflow. I would like to create an animation during the mouseover in which the text starts "flowing" inside the div.
An example could be: the string is "this is a simple test" but the div can contains only "this is a". so when overing on it, the text become:
"his is a "--->"is is a s" ---> "s is a si"--> " is a sim".... and so on
How about a marquee?
<marquee width="50px" direction="right" height="100px">
this is a simple test
</marquee>