0.0.5 • Published 9 years ago

rework-matches v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

rework-matches

An implementation of the :matches pseudo-selector for rework, based on CSS Selectors Level 4.

Installation

npm install rework-matches

Usage

a:matches(:hover, :active, :focus) > :matches(span, div) {
  color: red;
}

..becomes..

a:hover > span,
a:hover > div,
a:active > span,
a:active > div,
a:focus > span,
a:focus > div {
  color: red;
}
0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago