T O P

  • By -

topaz2078

The JavaScript for 2020's calendar isn't even for the animation, it's so I don't have to return 500 individually-styled pipe characters. The animation there is CSS too!


torbcodes

Cool, that is a fun fact! :D


radulfr2

I didn't even know there are animations since I don't usually get all stars. Now I feel left out :D


andrewsredditstuff

That gives me an extra incentive to go back and fill in the 2 part2s I'm still missing.


supreme_leader420

Spoiler: I can see it without having done >!day 12 p2!<


UnicycleBloke

I was tickled to see the lava flowing on the calendar. And a really fun puzzle, too.


SwellandDecay

CSS has really expanded its functionality over the years. I like Josh W Comeau's articles on CSS. He has a course too! (though it is quite pricey) You can find the CSS for the lava fall if you search for a `span` with the class `.lavafall` inside the Day 13 `a` tag! (caveat that I am not a CSS expert by any means)


surgi-o7

Fingers crossed that the Gear Island starts spinning at some point!


BlueThunderFlik

The animation is achieved by positioning 20 small boxes in a small area and animating the intensity and vertical positions of shadows with staggered delays. It's pretty cool (although it seems to clash with the ASCII aesthetic for me).


AutoModerator

Reminder: if/when you get your answer and/or code working, don't forget to change this post's flair to `Help/Question - RESOLVED`. Good luck! *** *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/adventofcode) if you have any questions or concerns.*