Hacker News new | ask | show | jobs
by LarryMade2 3230 days ago
One trick I just learned is you can combine classes - when setting class in a property put in multiple classes by separating the names with a space. i.e. <div class="manny moe jack">web stuff</div> Now you can pull apart the unique bits from the reusable ones.

Other than that a lot of my CSS cleanup happens in refactoring the layout