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));

Package Sidebar

Install

npm i browsernavbarheight

Weekly Downloads

4

Version

0.0.4

License

WTFPL

Last publish

Collaborators

  • davidmars