Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
New to SASS! Looking for any early tips/tricks/etc.
Post Flair (click to view more posts with a particular flair)
Post Body

Hey all, so I've been using vanilla CSS for many years. Decided I wanted to learn something new that would be useful to me. So I decided to go eith SASS/SCSS. I'm very new, and read through some documentation, but I'm basically looking fir any tips, tricks, etc. Any advice from someone who has experience with the library would be appreciated. Be it syntax, possible glitches or errors to look for, etc.

Also, one specific question I have is: Since SASS has a built in @import directive, that seems a lot more useful than vanilla CSS--is this still a good way to import my mobile view query for mobile devices and cross-platform displays? Thanks in advance!

P.S.: I'm running SASS through Node.js and compiling straight through command line. Any changes I make transpiles straight into my primary css file. Works like a charm. I admit I already miss simply saving the file and being able to view it immediately after, since compiling adds an extra step, but for the rest so far it seems like a worthy compromise considering SASS is much more powerful than vanilla CSS.

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
906
Link Karma
192
Comment Karma
714
Profile updated: 3 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago