DEV Community

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

Posted on

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:

Top comments (0)