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•13mo ago
when i change the height the overal layout is good only then the image is to small
No description
Boeroe
Boeroe•13mo ago
I think i need to give the image full size of the div but how do i do that
MarkBoots
MarkBoots•13mo ago
set the img itself to max-width: 100% and remove the height from the parent.
Boeroe
Boeroe•13mo ago
Boeroe
Boeroe•13mo ago
Anyone?
hellismyrestingplace
hellismyrestingplace•13mo 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•13mo ago
😂
Want results from more Discord servers?
Add your server