DEV Community

Discussion on: Does SCSS take more space or load slow?

Collapse
 
amitavroy7 profile image
Amitav Roy

You will have to run some compiling tool to convert your SCSS to CSS. Because, in the end you would have to load up a CSS file on your website. And at that point, I don't think the file size will matter. On the contrary overall, the file size of SCSS files should be less. Because, you may have multiple files based on how you split up your styling logic.

But, with SCSS you get a lot of logical operators, nesting, mixins and other powerful tools which will overall reduce the space required for SCSS files also compared to CSS written without SCSS.

Last, but not the least... in your build tool you would have code to minify the CSS as well, right? So, I don't think there is anything to worry about.

Collapse
 
pvcodes profile image
Pranjal Verma

Yeah bro, thanks...