CSS: background-position + padding not working in Safari
See this previous question, it will probably answer your question - CSS3 background-position issue with Safari only For future reference, make a jsfiddle demonstrating the problem, so we can try to fix it ourselves before just giving you educated guesses.
CSS Background-position not working on mobile
Setting your bg image to cover
means that it will want to stretch to the height of the screen, which means on a small device that you'll get a very narrow view of it. Personally, I'd either resize the image to be taller and thinner so that it fits better on a mobile screen, or instead set the background size to 100% auto
, which looks pretty good imho.
Background image not working with Safari browser from my phone
Background Attachments have been disabled in mobile browsers.
Change background-attachment
to something like background-size: cover
.
For more information:
How to replicate background-attachment fixed on iOS
From the post:
Check this comment by @PaulIrish:
Fixed-backgrounds have huge repaint cost and decimate scrolling
performance, which is, I believe, why it was disabled.
Related Topics
How to Ignore Parent Element's Overflow:Hidden in CSS
How to Make Visual Studio Stop "Compiling" .Js and .CSS Files
Immediate Child Selector in Less
Absolute Positioning in Gmail Emails
CSS - Exact Same Height and Alignment of Button and Input Text Box
Why Does the Bootstrap .Row Class Have a Default Margin-Left of -30Px
Bootstrap 3 - 100% Height of Custom Div Inside Column
Load Fonts with Webpack and Font-Face
Is There an Opposite CSS Pseudo-Class to :Hover
In What Circumstances Is Flex-Shrink Applied to Flex Elements and How Does It Work
Set Bootstrap Navbar Transparency on Scroll