DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Aniket Das
Aniket Das

Posted on

Css Vs Scss! Which is better?

What do you think guys! What do you think?

Top comments (3)

Collapse
 
roblevintennis profile image
Rob Levin

Not that this has to happen but every job I’ve worked at FE devs got sloppy with nesting in SCSS and it resulted in long CSS selectors.

SCSS also tempts you to loop generate which can cause bloat.

CSS is the platform so your time spent using raw CSS has lasting power. That said I basically use SCSS at work because it’s so prolific but have created AgnosticUI with straight up CSS. Not even PostCSS (which I do like as a reasonable compromise).

Come to think of it I think CSS + PostCSS could be part of this debate

Collapse
 
tw2113 profile image
Michael Beckwith

Well, given that SCSS can't exist without CSS, and compiles down to CSS...we know the answer.

Collapse
 
higaguin profile image
higaguin

Obviously CSS is most important to know how to use, but after mastering CSS you can treat yourself and make your life more easy and your styles files more understandable with SCSS

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.