This solution is generated by ChatGPT, correctness is not guaranteed.
AI solution for CSS coding question on BFE.dev
11. fit the image
.image { width: 100%; height: 100%; /*optional */ object-fit: cover; }
.image { width: 100%; height: 100%; /*optional */ object-fit: cover; }