1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/content
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
..
about About: more details about identities 2020-12-11 12:02:02 -08:00
posts CLS: Declare original image dimensions in HTML 2020-12-15 23:09:45 -08:00
_index.gmi Add some more metadata for widgets + indieweb 2020-12-15 23:05:45 -08:00
_index.md Add some more metadata for widgets + indieweb 2020-12-15 23:05:45 -08:00