2.0.0 • Published 9 years ago

stylecow-plugin-custom-selector v2.0.0

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

stylecow plugin custom-selector

Build Status

Stylecow plugin to work with the @custom-selector at-rule, available in CSS Media Queries Level 4.

You write:

@custom-selector --heading h1, h2, h3, h4, h5, h6;
@custom-selector --main-world strong.main;
 
body --heading --main-world {
	color: blue;
}

And stylecow converts to:

body :matches(h1, h2, h3, h4, h5, h6) strong.main {
	color: blue;
}

More demos in the tests folder

2.0.0

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago