<img
src={url}
width={300}
height={400}
alt=""
className="object-fill rounded-tl-md"
/>
I want to set the height to 400 and cover the div. But the problem I am having is that <img>
‘s size is just the picture’s width and height. It is not 400px
. How can I force the img to be 400px height?