0

How to stop a marquee automatically at a specific position??

using marquee tag in HTML the included content moves as per the set directions. what CSS code may be used to stop the marquee at the specific position automatically??

29th Sep 2017, 9:14 AM
Raghav Goyal
Raghav Goyal - avatar
2 Réponses
+ 5
HTML: <marquee behavior="slide" direction="right" loop="1"> a moving text </marquee> CSS: marquee{ width: 80%; } //use the width to specify where it should stop in css.
29th Sep 2017, 10:34 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar