Categories
Uncategorised

100% height of screen minus height of header

Technique to get scrollable nav for menu which is 100 vertical-height minus the height of <header>

nav {
   height:calc(100vh - 100px);
   /* where header is 100px */
}

nav will likely be position:fixed; top:100px; right:0;