ios - CSS Display Background on Mobile -
i've been working css while now, , thought it's time ask more knowledgeable. i'm semi-new web-development mobile platforms, brand new stackoverflow (created account now, frequent reader beforehand), , i'm trying figure way around this.
basically, background image shows in browser on pc, not in mobile browser. appreciate help!
if see screenshots, i've uploaded pictures dropbox public link:
rendering on google chrome, mac osx: pc rendering
rendering on safari, ios: mobile rendering
body { font-family: 'lato', sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; color: #626262; height: 100%; background: #fff url('default-bg.jpg') center center no-repeat; background-size: cover; background-attachment: fixed; } .tall-header-page, .short-header-page, .no-header-page, .landing-page { background: #222121; } .tall-header-page .wsite-background, .short-header-page .wsite-background{ background: #fff url('image123.jpg') center center no-repeat; background-size: cover; } .landing-page .wsite-background { background: #fff url('default-bg.jpg') center center no-repeat; background-size: cover; } thank you, , if haven't provided enough code, please let me know!
Comments
Post a Comment