browsernavbarheight
0.0.4 • Public • Published browserNavbarHeight
Calculates the browser navbar height. Helpfull to get real screen height on mobile devices
Installation
npm install browsernavbarheight -save
Old scholl html
<script src="/path/to/browserNavbarHeight.js"></script>
New scool js
require("browsernavbarheight");
Usage in css
height: calc(100vh - var(--browser-navbar-height,0px));
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.4
1
Version History
Package Sidebar
Install
npm i browsernavbarheight
Weekly Downloads