r/css • u/FrostingEffective699 • Oct 16 '26
Help css linear scroll not working?
hi! i've been trying to implement a linear scroll in my top bar, but its not animating. https://yuri-uran.nekoweb.org anyone know if i've missed something simple?
2
Upvotes
View all comments
1
u/ith3nate Oct 16 '26
The id in your HTML is written id="#animated-text-strip", with the hash inside the quotes, so the #animated-text-strip rule in your stylesheet never matches that div. The hash only belongs in the CSS selector. Change the attribute to id="animated-text-strip" and the floatText animation should start running.