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.

comments powered by Disqus