Background sizes?

Dinocanid

Artist
I've been having trouble finding what size fits best for a website background, where it doesn't look blurry or oddly stretched. (I have the css set to "cover" btw, but I've also tried 100%)

My sites are set up so all of the content is in the center, with space on both sides to view the background.

 
Last edited by a moderator:
There can't be one image and one css rule for all cases. Use separate properly resized and resampled images made for most common resolution breakpoints, and set them to cover so they are also good for everything in between. Don't forget about portrait orientation and 2x (and if possible 3x as well) for retina.

 
Last edited by a moderator:
There can't be one image and one css rule for all cases. Use separate properly resized and resampled images made for most common resolution breakpoint, and set them to cover so they are also good for everything in between. Don't forget about portrait orientation and 2x (and if possible 3x as well) for retina.
I'll try that. I'll have to try portrait orientation too, since so far I've been using large "box" images.

 
Back
Top