DEV Community

Cover image for Divtober Day 26: Spice
Alvaro Montoro
Alvaro Montoro Subscriber

Posted on

10 4

Divtober Day 26: Spice

The word of the day in divtober is "Spice." So I drew a bottle of spices using CSS and a single HTML element:

It was interesting trying to make it look more realistic (although it seems that the browser struggles a little 😳). I learned a bunch about shadows by tinkering with them (e.g. not all shadows are black or white, multiple shadows from multiple directions make it look nicer... they may be basics for people with experience, but that was new-ish to me.)

And here's a video of how the drawing was done:

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay