A set of general CSS custom selectors for use with cssnext (postcss-custom-selectors)
$ npm install custom-selectors
Examples, full list
:--universal {
box-sizing: border-box;
}
.Post :--headings {
font-weight: 600;
}
.Button:--hover-focus-active {
color: blue;
}
.Button:active {
opacity: 0.5;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
.Post h1,
.Post h2,
.Post h3,
.Post h4,
.Post h5,
.Post h6 {
font-weight: 600;
}
.Button:active,
.Button:focus,
.Button:hover {
color: blue;
}
.Button:active {
opacity: 0.5;
}