Hacker News new | ask | show | jobs
by jkeat 2260 days ago
Even though it's gross, it's kind of cool that you can do this with nested marquees:

<marquee behavior="alternate" direction="up"><marquee behavior="alternate" direction="left"><span>DVD</span></marquee></marquee>

3 comments

WTF? Mind blown. And I've been hacking the web for nearly 20 years now.
It's amazing how well the effect works. Here's a demo:

https://jsbin.com/kuzolurapi/1/edit?html,output

In Chrome, the outer marquee needs (CSS to) be forced to full height. https://jsbin.com/rasivitupi/edit?html,output
Same in Firefox.
That doesn't work in my browser :(
it only moves horizontally on iOS.
desktop chrome too
Like this: https://ff23.be ?
This only works horizontally for me on iOS :3