1 hour ago · Tech · hide · 0 comments

As you may know, I made a Bear Halloween theme last year. It still holds up, which is almost a shame, since I love making things like that. So, upvote button to the rescue! Styled for the spookiest season of the year: a jack-o'-lantern that lights up when you upvote a post. And as it turns out, something was hiding inside... Go ahead, give it a try below, if you dare. 🦇 How it worksBefore you vote, the pumpkin sits there unlit, with dark, hollow eyes. Hover over it, and it starts to flicker, as if someone's about to light it. Upvote, and the face starts glowing, and the light startles a bat that was sleeping inside.1 It pops out, hovers for a second, and flaps off into the night. Visitors who prefer reduced motion get the lit pumpkin, without the flicker or the bat. Add it to your blogIt's pure CSS and works with any Bear theme. Paste it at the end of your styles. /* Halloween upvote: a jack-o'-lantern that lights up, and a startled bat Robert Birming | robertbirming.com */…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.