The background fixed rule doesn't work on the android devices. This is my code:
html, body{ width: 100%; height: 100%; margin:0px; } .banner { background: rgba(0, 0, 0, 0) url('http://wallpoper.com/images/00/31/33/51/black-background_00313351.jpg') 0 0 no-repeat fixed; text-align: center; background-size: cover; height: 350px; width: 100%; margin-bottom: 3em; display: table; height: 100%; } <div class="banner" id="bannera"></div> <div class="l-content" style="height: 700px;"> </div>
Try it: http://jsfiddle.net/6rf4o2aj/
Submitted May 08, 2015 at 10:53AM by xrobotx http://www.reddit.com/r/css/comments/359hsb/background_fixed_on_android/ Happy Mothers day Quotes, Wishes, Poem and Saying Mothers Day Cards, Sayings , SMS and Messeges When is Mothers Day MOTHER’S DAY HISTORY : CELEBRATIONS AND TRADITIONS Google launches wireless network MVNO LG G3 Stylus with new 5.7 display and lolipop updated Best Android Phone http://goo.gl/YjGc03
No comments:
Post a Comment