Have you tried the Interpolation syntax?
background: url(#{$get-path-to-assets}/site/background.jpg) repeat-x fixed 0 0;
More Related Contents:
- CSS for button with right triangle at lower right [closed]
- What’s the difference between SCSS and Sass?
- Import regular CSS file in SCSS file?
- 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?
- Angular-cli from css to scss
- Sass Invalid CSS Error: “expected expression”
- Can I use variables for selectors?
- Dynamic Sass Variables
- 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?
- Customize Bootstrap 4’s grid-system Breakpoints
- @import in @if statement in Sass
- Next.js Global CSS cannot be imported from files other than your Custom
- Proper SCSS Asset Structure in Rails
- What does ‘&.’ in ‘&.sub-title’ indicates in scss?
- SASS indented syntax on multiple lines?
- Rails 4: how do I use Sass Mappings?
- SASS – use variables across multiple files
- Placeholder Mixin SCSS/CSS
- Sass @each variable interpolation [duplicate]
- Does LESS have an “extend” feature?
- How to control number of items per row using media queries in Flexbox?
- Text Stroke (-webkit-text-stroke) css Problem
- Pass function or mixin by reference in SASS
- Creating CSS3 Circles connected by lines
- How to properly introduce a light/dark mode in Bootstrap?
- how to watch changes in whole directory/folder containing many sass files
- SASS CSS: Target Parent Class from Child