Answers for "import sass file from another directory"

CSS
0

scss import class from another file

@import url("index.scss");
Posted by: Guest on July-22-2021
1

scss import another file

// foundation/_code.scss
code {
  padding: .25em;
}

// foundation/_lists.scss
ul {
  text-align: left;
}

// style.scss
@use 'foundation/code';
@use 'foundation/lists';

// output styles.css
code {
  padding: .25em;
}

ul {
  text-align: left;
}
Posted by: Guest on April-11-2022

Code answers related to "import sass file from another directory"

Browse Popular Code Answers by Language