DEV Community

Discussion on: 8 SCSS Best Practices to Keep in Mind

Collapse
 
horaceshmorace profile image
Horace Nelson

Pretty good article, but you’re mistaken about #ids. Using #ids is invariably dramatically more performant than using .classes when the downstream CSS is processed in the browser. Whatever you might subjectively gain in style in SCSS (I’d argue against that, too) will not come even close to matching what you’ll lose objectively in CSS processing/rendering time.