タグ

ブックマーク / simurai.com (1)

  • Nesting Components

    ..or the struggles with contextual styling. — Using CSS components is somewhat straightforward. We add the markup and give it the component’s class name and all is good. Where it gets trickier is when we try to nest components. And when they need to be tweaked based on the context. Where should the styles be defined? It’s a question I’ve been asking myself a few times and what this article is tryi

    Nesting Components
    peketamin
    peketamin 2015/05/21
  • 1