Dan Q
Hero Member ⚓︎
    
 

I have no idea what I am doing ⛺︎ My Room
RSS: 
Guild Memberships: Artifacts:

|
 |
« Reply #1 on: a Spring day » |
|
The CSS you're looking for is:That means "make the background image so large that it completely covers the window, even if that means losing a bit of the background off the sides or bottom" (i.e. the same width as the window and at least as tall, OR the same height as the window and at least as wide).
Alternatively, you might want:background-size: contain;
That means "make the background as tall or as wide as the container, so the whole image can still be seen, even if that means the image has to repeat or have un-covered bars at the sides".
background-repeat: repeat-xy; isn't a thing, by the way. "repeat" means "repeat in both directions", "repeat-x" and "repeat-y" limit repeating to one direction or another, and "no-repeat" prevents repetition.
Hope that helps!
|