My CSS seems to have a bug when it comes to responsive pages with images.
Take a look at the demo: https://jsfiddle.net/xr4getom/
If you resize the window on this example, you'll notice that a dark background (#222
) appears intermittently. Is there a way to fix this so that the image properly occupies the area while maintaining its correct ratio?
I haven't included the CSS here due to character limitations, but if you check out the demo link, you can see it.