1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-25 10:12:10 +00:00
seirdy.one/themes/etch-custom/assets/css
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
..
dark.css CSS: clean up to match stylelint, csslint 2020-12-12 21:05:25 -08:00
main.css CLS: Declare original image dimensions in HTML 2020-12-15 23:09:45 -08:00
narrow.css csslint compliance and simplification 2020-12-12 02:42:45 -08:00
syntax.css CSS: clean up to match stylelint, csslint 2020-12-12 21:05:25 -08:00