$gutter: 10;
.grid#{$gutter} {
background: red;
}
If used in a string for example in a url:
background: url('/ui/all/fonts/#{$filename}.woff')
More Related Contents:
- SASS: randomly pick background-image from a list
- how do I make device specific selectors in css [closed]
- Is there a “previous sibling” selector?
- What does a space mean in a CSS selector? i.e. What is the difference between .classA.classB and .classA .classB?
- CSS selector for first element with class
- What does the “+” (plus sign) CSS selector mean?
- Is there a CSS selector by class prefix?
- How do I select an element based on the state of another element in the page with CSS?
- Does the order of classes listed on an item affect the CSS?
- Select all child elements recursively in CSS
- CSS “and” and “or”
- Using the last-child selector
- Why doesn’t the selector h3:nth-child(1):contains(‘a’) work?
- Sass Invalid CSS Error: “expected expression”
- Can I have multiple :before pseudo-elements for the same element?
- How to select label for=”XYZ” in CSS?
- @import in @if statement in Sass
- In which direction do selector engines read, exactly?
- What’s the difference between html[lang=”en”] and html:lang(en) in CSS?
- Can I colour backgrounds of selected items in HTML select options with CSS only?
- CSS3 combining selectors with OR instead of AND
- Why doesn’t this CSS :not() declaration filter down?
- How to show the first N elements of a block and hide the others in css?
- Does LESS have an “extend” feature?
- What is the difference between :before and ::before?
- How to skip first child?
- How to select all elements whose ID starts and ends with specific strings?
- selector for nth nested elements
- Sass and rounding down numbers. Can this be configured?
- SASS calculate HSL Difference between 2 colours