title: Set height of image with 100% width for CLS (Cumulative Layout Shift)
body: <p>To work on CLS of Core Web Vitals, I needed to find a way to set height of <code>img</code> tag when an image is 100% width on the screen, since <strong>the height of the image changes whenever the window is resized</strong>. The site I was working on was built on WordPress and found the workaround. So, I will write how to manage it on WordPress.</p>