I have a problem with trying to fit an image into my div. My image is bigger than my div, so when I do the traditional
style="width:100%;"
it will resize the div, taking up more space than it should.
I've tried using style="max-width:100%;" background-size: contain; background-size: cover;
and pretty much all the methods of resizing the image to fit an entire div.
I'm using CSS grid, and so the size of the area is how i'd like to keep the entire image to fit, but when using things like max-width it just changes the size of the area, making it bigger than what it should be
I essentially want to do something like
where the image would take up the entire div and not overflow