hugosslade

android header fix

Dec 9th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.41 KB | None | 0 0
  1.  
  2. #header
  3. {
  4.     height: 113px;
  5.     position: fixed;
  6.     z-index: 1000;
  7.     top: 0;
  8.     width: 100%;
  9.  
  10.     /* ======================= Add these */
  11.     left: 0; /* Explicit */
  12.     -webkit-backface-visibility: hidden; /* Fix for Android Stock Browser no header on landscape */
  13.     -webkit-transform: translateZ( 0 ); /* Fix for Android Stock Browser no header on landscape */
  14.     /* ======================= */
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment