Stable fullscreen background


Author Message
ziizeli

Posted: 4/21/2016
Quote message 

Howdy!
Eventhough I thought this was an everyday issue for many many sites I couldnt find any topic :/ I want to have a background image (width x , height y) to allways fill the browser window 100% both horizontally and vertically.

#art-main {
background-size: 100%;
}

That works fine for the horizontal aspect but when there are "something to see" at the botton of the jpeg-image, one must resize the window.. I know cropping looks bad
but there must be a css-line to do that..?