stylis-custom-selector

0.1.3 • Public • Published

stylis custom selector

Allows you to create your own selectors

@custom-selector :--heading h1, h2, h3, h4, h5, h6;
@custom-selector :--enter :hover, :focus, :active;

:--heading {
	color: red;
}

:--heading:--enter {
	color: blue;
}

Specification

Package Sidebar

Install

npm i stylis-custom-selector

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • thysultan