Hacker News new | past | comments | ask | show | jobs | submit login

This is a particular dilemma I've tried a lot of different approaches for. One thing the article didn't touch on is what happens on responsive, where often margins can change multiple times between desktop and mobile.

For a while now I've been effectively writing semantic css (nested or more recently bem) composed out of non semantic sass helper functions. The benefits of this are being able to think about namespacing in very simple terms. It can make for fairly large css output files though, something BEM helps with a bit.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: