How to make a div with 100% height? (passing the viewport)

0

I want to put a background image in this div, I already tried it with height: 100% but the height of the div is limited to the height of the viewport, when scrolling down, the div ends, and also the background image .

    
asked by anonymous 24.07.2015 / 21:23

1 answer

0

Simply add the position: fixed property to your div .

    
24.07.2015 / 21:51