I have a 2000x2000 px image which is set as a background image on my website (as background-image of <body>
), but I need this image to be aligned in bottom of the webpage. How can I achieve this?
My CSS is:
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
html {
overflow-y: scroll;
}
body {
background: url('../images/pozadie.jpg') left bottom repeat-x;
}
This answer is not working, when background image is higher than screen height...