DEV Community

Manu Kumar Pal
Manu Kumar Pal

Posted on

🏚️ CSS Art: Haunted House with Parallax Layers

Frontend Challenge CSS Art Submission πŸ¦‡πŸŽƒ

This is a submission for Frontend Challenge - Halloween Edition, CSS Art.

Inspiration

The idea came from imagining an old spooky mansion that seems to watch you as you move β€” inspired by classic Halloween tales and atmospheric pixel art games.

The goal was to make something that feels alive without heavy JS β€” just CSS magic and creativity.

Demo

πŸ‘‰ Live Demo :- https://codepen.io/Manukumar10/pen/KwVZROM

Journey

This project was a fun mix of creativity and problem-solving.
I built every layer β€” the house, moon, fog, clouds, and graveyard β€” using CSS gradients, clip-paths, and keyframes.

Features

CSS-only haunted house using clip-path & gradients

Glowing moon with layered shadows

Animated drifting clouds & flickering windows

Parallax motion on cursor move (tiny JS)

Accessible and responsive design

Tech Used

HTML, CSS (gradients, keyframes, clip-paths, blend modes),
JavaScript (light parallax interactivity)

Final Thoughts

This project was a fun mix of design and code β€” using CSS to build a living, breathing haunted house scene.

It reminded me how powerful simple web tools can be when mixed with creativity.

Happy Halloween, and good luck to everyone joining the challenge! πŸŽƒ

Top comments (0)