node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

postcss-scoped

PostCSS Scoped Build Status

PostCSS plugin Adds a new @scope rule that qualifies any descendant css.

@scope Panel {
  .foo {
      /* Input example */
  }
}
.scope-761597ae .foo {
  /* Output example */
}

Usage

postcss([ require('postcss-scoped') ])

See PostCSS docs for examples for your environment.