DEV Community

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

Collapse
 
baso53 profile image
Sebastijan Grabar

Usually, if you compare an SCSS file and the CSS that was generated from it, the CSS would probably take up more space most of the time. That's because SCSS adds syntactical sugar for CSS which in turn compile into more lines to achieve that feature.

Does the file size difference matter? Probably not. Even if it's twice, or thrice the size, it's probably worth it. Plus, as someone already mentioned in the comments, if you use a minifer, it matters even less.

Collapse
 
pvcodes profile image
Pranjal Verma

Yep mate, Thanks for ur advice ;)