body
height: calc(100% - #{$body_padding})
For this case, border-box would also suffice:
body
box-sizing: border-box
height: 100%
padding-top: $body_padding
More Related Contents:
- CSS for button with right triangle at lower right [closed]
- Import regular CSS file in SCSS file?
- How do I use /deep/ or >>> or ::v-deep in Vue.js?
- How do I debug CSS calc() value?
- Disable LESS-CSS Overwriting calc() [duplicate]
- How to dynamically generate a list of classes with commas separating them?
- SASS: randomly pick background-image from a list
- Is there a SASS.js? Something like LESS.js?
- Can I use variables for selectors?
- Extending selectors from within media queries with Sass
- What does an “&” before a pseudo element in CSS mean?
- How can one import only variables and mixins from Sass stylesheets?
- Proper SCSS Asset Structure in Rails
- How to compile or convert sass / scss to css with node-sass (no Ruby)?
- What does ‘&.’ in ‘&.sub-title’ indicates in scss?
- CSS-Only Sticky Table Headers In Chrome
- SCSS extend a nested selector and override the nested rulesets
- Sass negative variable value?
- Sass @each with multiple variables
- Why doesn’t min() (or max()) work with unitless 0?
- Rails 4: how do I use Sass Mappings?
- SASS – use variables across multiple files
- Sass @each variable interpolation [duplicate]
- Merging selectors from mixins
- how to change bootstrap version 4 button color
- Pass function or mixin by reference in SASS
- SASS for loop updating hsla lightness returns error $lightness: “96.77419” is not a number for `hsla’
- Creating CSS3 Circles connected by lines
- How to properly introduce a light/dark mode in Bootstrap?
- SASS CSS: Target Parent Class from Child