DEV Community

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

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:

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)