Android chrome : Background with background-size: cover;
I ran into the same problem not too long ago. I fixed it by using thr inline style in html. Apart from that I also found a thread where people post their approach to solve this I think you should check it out too!
background-size: cover not working in portrait on Android tablet
Application background picture is showing on tablet but not on phone
Maybe the file size of the image is too large?
Check the logcat output, if that is the problem there should be an error.
You can also try a smaller image
My background image doesnt display right on my android phone
Just add height: 100vh
to you body
background-size: cover does not cover mobile screen
After hours of trying different things, adding min-height: 100%;
to the bottom of html
under the { background:... }
worked for me.
background image won't show on tablet and mobile phone
mobile
and tablet browsers
do not support background-attachment: fixed
.
changing this, solved the problem
Related Topics
Recyclerview - How to Smooth Scroll to Top of Item on a Certain Position
Android Fragment Lifecycle Over Orientation Changes
How to Set Relativelayout Layout Params in Code Not in Xml
Timepicker in Preferencescreen
Android Hide/Unhide App Icon Programmatically
Method Not Found Using Digestutils in Android
Using Global Exception Handling on Android
Android Image View Pinch Zooming
How to Detect the Swipe Left or Right in Android
Full Webpage and Disabled Zoom Viewport Meta Tag for All Mobile Browsers
Android Lollipop, Appcompat Actionbar Custom View Doesn't Take Up Whole Screen Width
How to Create a Simple Divider in the New Navigationview
Android - Nullpointerexception on Searchview in Action Bar
How to Use Custom Font with Webview
Using Viewpagerindicator Library with Android Studio and Gradle
Fade in Fade Out Android Animation in Java