.overlay{
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
background:url(hex-shape.png) no-repeat center;
z-index:99999;
}
I have created an overlay background image that covers the entire page. I want the area surrounding the overlay image to be filled with white, but not within the image itself.
This setup is intended to create a frame for a central picture on the screen.
The concept is to have a full-color page behind the background image, but have it appear invisible due to the border or design elements around the image.