DEV Community

Discussion on: SASS for CSS: Advance your frontend skills with CSS preprocessor

Collapse
 
mzaini30 profile image
Zen

Can we compile SASS into CSS without server or in static site?

Collapse
 
twootdev profile image
Twootdev

Yes you can compile SASS without a server. The compilation step is usually done on your local machine. Typically people will store their SASS files in a source folder in their local project, often named "src", and when they compile their SASS they will output the compiled CSS files to a distribution folder, often called "dist". It is the compiled CSS which you would eventually upload to your web server/static file host.