Search code examples
htmlcssgoogle-chromemarquee

how to disable an animation just for chrome


well this is my problem..

<html>
  <body>
    <marquee id="introtext" scrollamount="150" behavior="slide" direction="left">
      <p>
         this is the sliding text.
      </p>
    </marquee>
  </body>
</html>

What chrome does is just weard. it repeats the "marquee" action after 4 seconds.

what can i do to prevent this? or just fully disable this marquee but still keep this id , because this is used for other css effects?

sincerely,

santino


Solution

  • try loop="0" :

    <marquee id="introtext" scrollamount="150" behavior="slide" direction="left" loop="0">