Move post thumbnail box shadow to inline CSS instead of plain style #1989
Labels
performance & speed
Performance and speed
released
Indicate that an issue has been resolved and released in a particular version of the product.
small enhancement
Small feature or change
Right now we use static CSS for the post thumbnail box-shadow.
The size of this clocks in at a little above half a kilobyte. This should be generated dynamically, not with static CSS.
I'm sure we can find a way to calculate 5 steps for it, saving us 500bytes in the process. 🙈
Later Edit: We can even do it with a static array mapping.
With
Without
The text was updated successfully, but these errors were encountered: