Try it like this
margin: 0 (-$pad) 20px (-$pad);
More Related Contents:
- Sass @each with multiple variables
- Merging selectors from mixins
- Sass and rounding down numbers. Can this be configured?
- How do I use /deep/ or >>> or ::v-deep in Vue.js?
- How to create color shades using CSS variables similar to darken() of Sass?
- Sass Variable in CSS calc() function
- 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
- Ampersand (&) at the end, and part of, a selector in SASS
- What does an “&” before a pseudo element in CSS mean?
- How can one import only variables and mixins from Sass stylesheets?
- Have a variable in images path in Sass?
- 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 indented syntax on multiple lines?
- Placeholder Mixin SCSS/CSS
- Why put in front of the file name “_” or “_” in scss/css?
- how to change bootstrap version 4 button color
- Text Stroke (-webkit-text-stroke) css Problem
- 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 combine and use multiple Next.js plugins
- SASS CSS: Target Parent Class from Child