Sublime-CSS3 icon indicating copy to clipboard operation
Sublime-CSS3 copied to clipboard

CSS Scoping Module Level 1 (shadow dom selectors)

Open i-akhmadullin opened this issue 10 years ago • 0 comments

http://dev.w3.org/csswg/css-scoping/

@scope div {
  span {
    color: blue;
  }
}

:scope-context(<selector>) div {...}
scope(<selector>) div {...}
\scope <selector>\ div {...}
.selector \scope\ div {...}

#region1::region p {
  color: #0C3D5F;
  font-weight: bold;
}

http://robdodson.me/blog/2014/04/10/shadow-dom-css-cheat-sheet/

i-akhmadullin avatar Apr 27 '14 17:04 i-akhmadullin