Div sizing with images

Hi guys the first picture is on how i want it and the second page is on how it is. How can i change this. So its getting the right sizes. https://codepen.io/Boeroe/pen/VwgYXxN
No description
No description
7 Replies
Boeroe
Boeroe•9mo ago
when i change the height the overal layout is good only then the image is to small
No description
Boeroe
Boeroe•9mo ago
I think i need to give the image full size of the div but how do i do that
MarkBoots
MarkBoots•9mo ago
set the img itself to max-width: 100% and remove the height from the parent.
Boeroe
Boeroe•9mo ago
Boeroe
Boeroe•9mo ago
Anyone?
hellismyrestingplace
hellismyrestingplace•9mo ago
Set defined dimensions to the image Or to it's parent and then set width 100%, height: auto OR Use grid, set 5 columns, the text section col span of 3, image col span of 2, image width 100% height auto Or just ask chat gpt🤣
Boeroe
Boeroe•9mo ago
😂