Answer a question

I've been looking for many hours at how to use SCSS in the Underscore theme that I downloaded with _sassify.

When I open the folder and I see the style.css and the folder with scss files, the theme use css but I want change and use the scss file. I don't understand how to use it.

What is the process to use scss? Can someone help me with this?

Thanks

Answers

You have to use a preprocessor to compile scss to css. The theme uses css, this will not change. You do your changes in scss - then scss compiles to css. A preprocessor can be part of your IDE, you can use programs like Koala, Scout, Prepros or you use the sass command line.

You should start reading here: http://sass-lang.com

Try compiling your first .scss files in a test directory with help of http://sass-lang.com/guide:

sass input.scss output.css

Then start tweaking _s.

Logo

更多推荐