1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
seirdy.one/content/posts
rohan kumar d45926c0f4
CLS: Declare original image dimensions in HTML
Reduce Cumulative Layout Shift (CLS) by declaring original image
dimensions in HTML before re-scaling with CSS. This tells browsers the
image's aspect ratio before the image and the stylesheet load, allowing
browsers to block out space accordingly to avoid making elements "jump"
during loading.

More info: https://web.dev/optimize-cls/
2020-12-15 23:09:45 -08:00
..
git-workflow-0.gmi Off-by-one error 2020-11-19 12:23:18 -08:00
git-workflow-0.md Off-by-one error 2020-11-19 12:23:18 -08:00
git-workflow-1.gmi Off-by-one error 2020-11-19 12:23:18 -08:00
git-workflow-1.md Off-by-one error 2020-11-19 12:23:18 -08:00
hello-world.gmi Fix outdated inaugaral gemini post 2020-11-05 15:48:35 -08:00
hello-world.md Batman!! (this commit has no parents) 2020-11-03 15:52:34 -08:00
website-best-practices.gmi Clarify HTTP Observatory scores 2020-11-30 12:09:22 -08:00
website-best-practices.md CLS: Declare original image dimensions in HTML 2020-12-15 23:09:45 -08:00