Dynamically set custom property –masthead-height
I wanted this in order to properly set scroll-padding-top for ‘Back to Top’ and other anchor links. I like setting my primary navigation to Float Right, so when displays get narrower, often the hamburger menu slides down under a wide logo or Site Name, changing the height of the #masthead. This makes setting a static …