html - Fixed background on Android doesn't work? -


i tryed doesn't work. 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: jsfiddle.net/6rf4o2aj/

apply background body instead of banner. http://jsfiddle.net/6rf4o2aj/2/


Comments