DEV Community

loading...
Cover image for 📸 I re-created an analog camera in HTML & CSS

📸 I re-created an analog camera in HTML & CSS

fossheim profile image Sarah ・1 min read

I made another camera in CSS, this time I went for the Sardina (from Lomography). The code can be viewed on CodePen, and I also have a GitHub repo where I collect all the CSS drawings I make.

I had a lot of fun making this one (and even live streamed my process 🙌), and am trying to create one of those a week. Feel free to send me suggestions if there's something you think I should try to recreate, or follow my Twitch to be notified next time I live-code 🤩

I especially enjoyed creating the flash, viewfinder and lens. Glass reflections can be time-consuming because they require a lot of gradients on top of gradients, but the result is also incredibly rewarding.

Also for reference, this was the picture I started from:
Sardina camera

And if you're having trouble viewing the pen, here's the end result:
Sardina camera in CSS

👉 View all my css drawings on CodePen
👉 Read my Polaroid tutorial
👉 Read my Macintosh tutorial

Discussion (3)

Collapse
franca profile image
Collapse
michaeltharrington profile image
Collapse
fossheim profile image
Sarah Author

Thank you!

Forem Open with the Forem app