eg:
.container{ width:200px; height:16px;overflow:hidden;font-size:13px; }
<div class="container">
I want to know this sentence width is bigger than my container div width
</div>
and if the string inside containeris equal much longer, there is a way I can animate the string from begin to the end and loop again and again. But in short, just stay!
[update]
With Don way, inner element with string widthaways are equal width of container, and the string was wrapped. So, how can I do that inner element widthI was string actual length?
Many thanks!
source
share