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;
}
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;
}
npm i stylis-custom-selector
0
0.1.3
MIT