background: linear-gradient(
to right,
#51463e 0%,
#28241f 100%
);
Tool: https://tools.w3clubs.com/gip/Minimal CSS-only blurry image placeholders
61–70 of 78 posts
Re: Minimal CSS-only blurry image placeholders
#62Re: Minimal CSS-only blurry image placeholders
#63Re: Minimal CSS-only blurry image placeholders
#64Re: Minimal CSS-only blurry image placeholders
#65Re: Minimal CSS-only blurry image placeholders
#66We need to embrace WebP v2 for this kind of stuff. I took one of their images, resized it to 24x16px, and compressed it with Squoosh at 65% quality. It compresses to just 144 bytes. And it looks way way way better than these CSS gradients. https://squoosh.app/
Re: Minimal CSS-only blurry image placeholders
#67Re: Minimal CSS-only blurry image placeholders
#68Earlier quoted context omitted.
The placeholder is inline in the markup. It can be displayed before the image loads. Which is not inline. I have no idea what 99% thing you're talking about.
Look at literally any "newspaper" website. From the smallest local paper to the NYT.
Re: Minimal CSS-only blurry image placeholders
#69We need to embrace WebP v2 for this kind of stuff. I took one of their images, resized it to 24x16px, and compressed it with Squoosh at 65% quality. It compresses to just 144 bytes. And it looks way way way better than these CSS gradients. https://squoosh.app/
Cool app but no maintained library to use it in our own apps and scripts.