Set $header-height as a CSS variable that defaults to 40px
This allows us to override the value of the variable by simply defining the --header-height CSS variable. The alternative is to add (or subtract) a value to all places where $header-height is used if we want to override it which is error prone and bloats our CSS files.
Showing
Please register or sign in to comment