Hi Teaplease,
Some good news, I have an answer.
Looking at the full code, I can now see exactly why my code didn't give the expected result for you. The contain attribute you used is designed to "Scale the image to the largest size such that both its width and its height can fit inside the content area" (W3Schools). There are a couple of different attributes you can use to set the background size. I'll link you to the W3schools page --> CSS3 background-size property.
The issue is this. The image you gave is a specific shape, and when the browser window is resized, the image remains in that shape - it is not stretched. When the resolution is increased more and more, the white area is increased further. The image is being enlarged proportionally, to it will enlarge by the same amount on each side. You will find as the resolution is increased further still, white space develops on the bottom. I noticed this at a resolution of 2011x996 - there was a large white area both sides. You can see what I mean here --> Playit
I tried using a 100% width, but that looked odd and the chromium logo was oddly stretched.
Increasing the grey space on either side of the image would be the easiest option here. I have attached a 1920px width version (I zipped it because for some reason vB compressed it when I uploaded it), I extended the grey area so the image is 1920px wide - the width of a 1080p screen. Then use your original code.
Does this different image work for you? If not, don't worry, I'll keep thinking.
Regards,
Stephen
Some good news, I have an answer.
Looking at the full code, I can now see exactly why my code didn't give the expected result for you. The contain attribute you used is designed to "Scale the image to the largest size such that both its width and its height can fit inside the content area" (W3Schools). There are a couple of different attributes you can use to set the background size. I'll link you to the W3schools page --> CSS3 background-size property.
The issue is this. The image you gave is a specific shape, and when the browser window is resized, the image remains in that shape - it is not stretched. When the resolution is increased more and more, the white area is increased further. The image is being enlarged proportionally, to it will enlarge by the same amount on each side. You will find as the resolution is increased further still, white space develops on the bottom. I noticed this at a resolution of 2011x996 - there was a large white area both sides. You can see what I mean here --> Playit
I tried using a 100% width, but that looked odd and the chromium logo was oddly stretched.
Increasing the grey space on either side of the image would be the easiest option here. I have attached a 1920px width version (I zipped it because for some reason vB compressed it when I uploaded it), I extended the grey area so the image is 1920px wide - the width of a 1080p screen. Then use your original code.
Does this different image work for you? If not, don't worry, I'll keep thinking.
Regards,
Stephen