CH48 / E343|CSS Refactoring and Design|Mon, 21 Sep ’15
Refactoring CSS
Now that we have a standalone and tested CSS unit—a component, or “block” in BEM terminology—it’s time to refactor our ID-based code to use the component instead. The tests support us perfectly and reveal some additional features that we forgot to support.