I want that my background image stretch and scale depending on the browser viewport size.
I\'ve seen some questions on Stack Overflow that do the job, like
You can add this class into your CSS file.
.stretch {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
It works in:
background-size
, but not the keywords)