DEV Community

Cover image for we_coded iMac CSS Art
Paweł Ciosek
Paweł Ciosek

Posted on

we_coded iMac CSS Art

This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack.

Inspiration

My inspiration was apple iMac (Mac in css 😅), although we still celebrating we_coded 2024, so I wonder how could I join both ideas! Create the art and support the great event! 🤓

Image description

Demo

source code: https://github.com/pavelee/css_art

Journey

It's my first time creating css art! 🥳

Firstly I thought it's gonna be harder, but step by step I was moving forward. What important I had really fun time! 🤗

Getting good CSS structure is still challenging for me, I used pure CSS without any preprocessors and I could say it's pretty hard to make it clear! 🥲

I thought how could I refractor the code. I tried to create mac's window template, so it's reusable and shared across two windows on my Mac

  <!-- window tempalte -->
  <!-- <div class="window">
    <div class="bar">
      <div class="controls">
        <div class="close"></div>
        <div class="minimize"></div>
        <div class="maximize"></div>
      </div>
      <div class="title"></div>
    </div>
    <div class="body"></div>
  </div> -->
Enter fullscreen mode Exit fullscreen mode

For sure it's a good direction to keep it more clear! 🚂

That was a good time 🧑‍💻, thanks for the challange! ♥️

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay