Image elements do not have explicit width and height
Short Answer Add the image’s native width and height in pixels as attributes on the image. This lets the browser calculate the aspect ratio for the image. <img width=”600″ height=”400″ src=”some-image.webp”/> Long Answer width: 100% does not give an element an explicit width. What it does is define the width relative to it’s parent container. … Read more