DEV Community

Cover image for Desk of a Dev โ€“ CSS Art
Prashant Gohel
Prashant Gohel

Posted on

Desk of a Dev โ€“ CSS Art

Frontend Challenge CSS Art Submission

This is a submission for Frontend Challenge: Office Edition sponsored by Axero, CSS Art: Office Culture.

๐Ÿ’ป Desk of a Dev โ€“ CSS Art

Inspiration

Office culture for me revolves around the dev's desk โ€“ a keyboard clacking away, a coffee mug steaming, sticky notes with deadlines (and pizza reminders ๐Ÿ•), and a terminal always open. I wanted to bring this everyday developer vibe to life purely using HTML + CSS, with an interactive terminal and fun easter eggs like sticky note messages and dark/light mode toggling.

Demo

๐Ÿ”— Live Demo: View the project

๐Ÿ”— GitHub Repository: https://github.com/prashantgohel321/Desk-of-a-Dev-CSS-Art

๐Ÿ’ก Try clicking the sticky notes or typing commands like help, echo Hello, brew coffee, git commit -m "Success!", etc. in the terminal for some fun surprises!

Journey

This was a deep dive into pure CSS creativity. Some highlights:

  • ๐Ÿ’ก CSS-only art โ€“ Everything on screen (monitor, mug, sticky notes, keyboard, mouse) is built with CSS.
  • ๐ŸŒ— Dark/Light Mode toggle via a simple button.
  • โŒจ๏ธ Interactive Terminal built with input handling in JavaScript and a command system that mimics dev tools.
  • ๐Ÿ“ Sticky Notes that display fun pop-ups.
  • ๐Ÿ–ผ๏ธ Responsive design for smaller screens too!

What I learned:

  • How to simulate 3D/realistic effects with shadows and transforms.
  • Creating interactive elements (e.g., sticky notes and the terminal) without any external frameworks.
  • Balancing creativity with performance and interactivity in pure frontend work.

Next steps:

  • Make the terminal support scrollback history.
  • Add a productivity timer like Pomodoro built into the desk!
  • Animate the coffee steam more naturally.

Thanks for checking out my submission!

Feel free to โญ๏ธ the repo or connect with me on GitHub / DEV!

Top comments (2)

Collapse
ย 
cristea_theodora profile image
Theodora Cristea โ€ข

Such a brilliant piece of CSS art! The way youโ€™ve captured every detail of a developerโ€™s desk is both inspiring and skillful. Really admirable work โ€“ keep creating!

Collapse
ย 
prashant_gohel_321 profile image
Prashant Gohel โ€ข

Thank you so much, Theodora! Your words mean a lot ๐Ÿ™ Glad you liked the little details! ๐Ÿ˜Š๐Ÿ’ปโœจ