Search code examples
csssasscompass-sass

Is there anything that we can only achieve with SASS not with css?


We can use sass variables to store some styles and we can nest via sass. Yes they are good but we can achieve those by ordinary css3? We can use classes and CSS selectors instead of nesting. Is there anything in sass that we can only achieve via sass like that? I'm eager to see the advantages thank you.


Solution

  • mixins, loops, operators, import, modularity there are lot of features in sass which make it powerful.

    There are pitfalls too, overnesting rules and inheritance. If not written properly then 10kb code will easily double to 20.