Using SCSS (Sass) and CSS together

Hey guys, me and my friend are creating a website and I wonder if we can use scss and css together.

well I haven’t used these before, but if they run on your machine they should run on glitch. If they don’t work, come back and send any issues you run into.

SCSS is a “superset” of CSS - which means you can write CSS inside a .scss file and it will be valid!

1 Like

It is depend on what kind of sass compiler you use for your project. Read this:

https://sass-lang.com/documentation/at-rules/import#importing-css

In my experience, I suggest you use Dart-Compiler version. It is the most active one. If you use Gulp like me, then get this package: https://www.npmjs.com/package/gulp-dart-sass

1 Like