While working on a website design, I encountered an issue with the jumbotron element. The background image was set to cover and looked great initially, but when viewed on a wider screen, gaps started appearing as the image was too wide for the container.
I attempted to adjust the background-size to 100% 100% in hopes of stretching the image, but it did not make any difference. I also checked for margin or padding issues, but that didn't solve the problem either.
I am unsure if this discrepancy is due to the image itself or the jumbotron element. It seems like no matter which image I choose, its behavior varies drastically across different devices. Any suggestions on how to resolve this would be greatly appreciated.