issues with image not fitting into a div

I have a main div of 50% height. In which there are two divs each of a height of 47.5%. the child divs has two divs of which there is an image in one of the divs. The image is not resizing to contain. How should I fix it so it will become like the sun image on top PS having issues with internet so im on mobile
2 Replies
Avinash
Avinash2y ago
Code
Avinash
Avinash2y ago
https://codepen.io/avinash-tallapaneni/pen/ExRomwX both images are of diff size, i want the bigger size to shrink to size similar to the above one
Want results from more Discord servers?
Add your server