I have a container with a fixed height of 850 pixels. I want a background image that will support the entire background at all zoom levels. I would use background-size: cover , but I need it to be a little bigger than cover do this. I want the background part to exit the container and be invisible to create parallax.
Basically, how can I use background-size: cover and increase the size a bit?
edit: Forgot to mention that I also use background-attachment: fixed , so if Iām not mistaken, it is actually calculated using the size of the browser window (?), and not a container with a height of 850 pixels. How would I add this extra bleeding in this case?
html css
Sam d20
source share