jk.
- Joined
- Jul 2, 2011
- Messages
- 783
- Reaction score
- 230
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;
And why would you need to do that? Just make a hover over button and button in the css and have one normal as the normal image and then the hover over as the hover over one (faded version of the normal or whatever).
background: url(../inc/images/bg.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
-o-background-size: cover;
background-size: 100%;