hey guys i would need some help with css code
i am trying to make flexible background image so it would fit every desktop resolution
Code:
body {
background: #27343D url(img/background.jpg) no-repeat ;
background-attachment: fixed;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
z-index: 0;
}
contents {
position:absolute;
z-index:1;
i am using regular code that img fits window and that it static on site so everything other changes (moves) but not image
so guys if anyone haves idea how to set this it would be great