Have you ever written lines of CSS code, and felt there should be a way to make writing CSS easier and faster? This is where SCSS (Sassy CSS) comes...
For further actions, you may consider blocking this person and/or reporting abuse
Great I came accross this article. I haven't really been a SASS user in the real sense, but I decided to try it out some days back. I used it to develop an admin dashboard UI. There were two things that made me a bit uncomfortable with it.
The nesting can easily get out of hand, resulting in one big pile of styling terror.
After saving all my variables in a seperate file, to achieve consistent styling across pages, I got hooked when trying to set a dark theme and light theme, as I could not find any way to manipulate the theme change from JavaScript.
This can be achieved using guy functions which comes built in with SCSS
Guy functions??
Sorry it's a typo I meant that it can be achieved using functions and it comes built in SCSS using the @function method
If I counter the reasons with why not to pick Sass, how will you convince someone then? I myself wrote Scss and loved it. However,
Woah, I myself am divided. Anyway, great article and I want to know your opinion on the same.
Okay about the variables which CSS now supports it not yet supported by all search engines it's still in development and I also mentioned all other features like mixins, functions, components etc. And about the calc() function SCSS does that too and more mathematical function come built in with SCSS.
Generally it depends on preference and nature of project but SCSS is a nice preprocessor to use.
I asked it because current scenario of CSS is changing and they are listening to the devs. Plus, sass has been stagnant for now. You article do covers all important of SASS. Great work!
I really appreciate this, thanks for the feedback
Alternatively we can achieve most benefits with PostCSS and rather use upcoming "future CSS" features like native nesting or extended calc functions and custom properties, most of which have been supported by major browsers anyway (see Vanilla+PostCSS as an Alternative to SCSS).
But I would still go for SCSS in a collaborative project as it's a well known tool with good documentation.
Yeah, SCSS is a great tool to use for collaborative projects
Well done ...
Thanks
Amazing content
Thanks
helpful content