DEV Community

Discussion on: Measuring Cumulative Layout Shift (CLS) in WebPageTest

Collapse
 
dkranker profile image
dkranker

One of the solutions I've been seeing for improving CLS is to use img { aspect-ratio: attr(width) / attr(height);}. However, I'm seeing aspect-ratio as not supported when I inspect in chrome for any use I've tried. Could anyone provide any insight on this?