Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quickthrower2
· 3y ago · 0 comments
Had a look on the linked site octopus.do, little tip there: set image sizes using height and width (or fill to a fixed sized parent) to avoid re-layouts. If using NextJS their Next Image does this.
Comments
[–]
nikkey80
3y ago
Thank you. I'll be sure to let our developers know about it.
[–]
quickthrower2
OP
3y ago
This talks about it for reference:
https://web.dev/optimize-cls/