Do you always use a CSS preprocessor language over plain CSS, such as LESS or SCSS?
Updated by Brady Stroud [SSW] 1 year ago. See history
The key advantage of using CSS pre-processors is nested selectors. Instead line after line of specific CSS selectors you can nest them and they will compile down for you. Check out this example:
❌ Figure: 
✅ Figure: 
The pre-processed CSS then compiles to the regular CSS shown above.
We recommend using SCSS for its slightly more robust language scripting, however, the differences between LESS and SCSS are minor.
Categories
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.