+ 9

How to increase the speed of marquee tag?? Also, I am unable to change the font-family even though I am using it the right way..

https://code.sololearn.com/WHSVqhw98Vni/?ref=app The heading is moving very slow.. Please check what mistake I have done due to which I am unable to change my font family

29th May 2020, 7:45 PM
Namit Jain
Namit Jain - avatar
4 Answers
+ 6
marquee is deprecated and some browsers don't support it anymore. Instead, take a look at css solution: CSS: .marquee { display: block; width: 200%; height: 200px; position: absolute; overflow: hidden; animation: marquee 2s linear infinite; } .marquee p { float: left; width: 50%; } @keyframes marquee { 0% { left: 100%; } 100% { left: -100%; } } HTML: <div class="marquee"> <p>yo yo yo<p> </div>
29th May 2020, 8:01 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 5
HNNX 🐿 I don't know why but it's overlapping the text...
29th May 2020, 8:20 PM
Namit Jain
Namit Jain - avatar
+ 5
HNNX 🐿 Still facing problem with the movement Please see my code Open the css part i have comment out the region.. Can you tell the mistake i have done there
29th May 2020, 8:52 PM
Namit Jain
Namit Jain - avatar
29th May 2020, 8:33 PM
HNNX 🐿
HNNX 🐿 - avatar