Re:Star Wars opening crawl from 1977 in HTML/CSS/JS
by unreal37 on Monday September 16, 2013 @03:33AM
(#6392054)
Most of the code is actually to recreate the music. The scrolling of the text is the easy part.
[ Parent
| on HN ]
Re:Star Wars opening crawl from 1977 in HTML/CSS/JS
by TimPietrusky on Monday September 16, 2013 @03:38AM
(#6392066)
The tricky part was to sync the CSS animation with the HTML <audio>-element sound (1:34 minutes long) with the help of JavaScript.
The scrolling itself is just a CSS "transform: perspective(300px) rotateX(25deg)".
You can also edit the scrolled text because I added the contenteditable="true" attribute to the titles.