This is a submission for Frontend Challenge - Halloween Edition, CSS Art.
π¨ Inspiration
Halloween has always been about that magical mix of spooky and beautiful β the glowing moon, the flying bats, and the mysterious night sky.
I wanted to capture that cinematic moment when bats flutter under a full moon β purely with HTML and CSS (no images or JS needed!).
The goal was to make it feel alive β with random bat movement, glowing lights, and soft night colors that bring the Halloween vibe to life.
π» Demo
Hereβs the live version of my spooky CSS art:
π View Demo on GitHub Pages
π§© View Source on GitHub
π―οΈ Journey
This started as a simple CSS moon animationβ¦ and then the bats came in π¦
What I learned:
- Creating natural motion using
@keyframesandanimation-delayrandomness. - Layering effects with pure CSS gradients and transforms.
- Making light glows and depth using
box-shadowandfilter: blur(). - Keeping it responsive and performant while keeping that βspooky magic.β
What Iβm proud of:
- The entire animation runs on zero JavaScript.
- The bats randomly move across the sky, giving life to the art.
- Smooth night ambiance created using CSS-only glow effects.
Whatβs next:
Iβd love to expand this into a CSS Art Halloween Scene Generator, where each reload spawns a unique night sky with different moon and bat arrangements ππ«
π§‘ Credits & License
Made with love by @dmsmenula π§ββοΈ
Licensed under the MIT License.

Top comments (6)
Nice Work Menula !
Thank You
Link Please
thanks
Some comments may only be visible to logged-in visitors. Sign in to view all comments.