Description
The background image of a div does not cover the full height/width of the container, leaving empty spaces.
Where is the issue?
Steps to Reproduce
- Open the page containing the div with a background image.
- Observe the div.
- Notice that the background image does not take the full container space.
Screenshots
Environment
- OS: Windows 10
- Browser: Chrome Version 116.0.5845.111
- Device: Desktop
Additional Notes
This can be fixed using CSS properties like background-size: cover; and background-position: center;.