Skip to content Skip to sidebar Skip to footer

Android/ Phonegap - Stretching My Background Image To Fit Screen

I have tried various differnt things however none of them seem to work. I am using inline CSS and simply want to add a background which stetches to the screen size. I am currently

Solution 1:

You can try this CSS3 code:

body{
    background: url(images/blue-bg.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

If this doesn't work you can try :

Other CSS techniques

jQuery techniques

Post a Comment for "Android/ Phonegap - Stretching My Background Image To Fit Screen"