create new "empty" variant
this will generate classes like the following:
```css
.empty\:hidden:empty {
display: none
}
```
This commit is contained in:
parent
46bdf401f4
commit
d552e20096
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ const defaultVariantGenerators = (config) => ({
|
|||
last: generatePseudoClassVariant('last-child', 'last'),
|
||||
odd: generatePseudoClassVariant('nth-child(odd)', 'odd'),
|
||||
even: generatePseudoClassVariant('nth-child(even)', 'even'),
|
||||
empty: generatePseudoClassVariant('empty'),
|
||||
})
|
||||
|
||||
function prependStackableVariants(atRule, variants, stackableVariants) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue