dimaslanjaka

jQuery Mobile Fixed Toolbar

Mar 9th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.60 KB | None | 0 0
  1. [data-role=page]{height: 100% !important; position:relative !important;}
  2. [data-role=footer]{bottom:0; position:absolute !important; top: auto !important; width:100%;}  
  3. /*!
  4.  jQuery Mobile fixedtoolbar polyfill for blacklisted browsers that don't natively support position:fixed
  5.  Author @scottjehl
  6.  Copyright 2012 Filament Group, Inc.
  7.  License Dual MIT or GPLv2
  8. */
  9. .ui-fixed-faux.ui-header-fixed,
  10. .ui-fixed-faux.ui-footer-fixed {
  11.     position: absolute;
  12. }
  13. .ui-header-fixed.ui-fixed-hidden.ui-fixed-faux {
  14.     top: 0 !important;
  15. }
  16. .ui-footer-fixed.ui-fixed-hidden.ui-fixed-faux {
  17.     bottom: 0 !important;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment