Open azopyros opened 7 years ago
I would "duplicate" the rule like you said. Something like :
const commonStyles = {
color: 'red',
}
const btn = css({
':hover': commonStyles,
':active': commonStyles,
})
I think this is a bug in the css
literal syntax bit, not glamor itself, should work with the object notation.
Hello,
In css, I want this rules :
In glamor, I wrote this :
The result, in the page, is
Did you already have the problem ? I know you can duplicate the rule, but I want to do it in 1 rule. Any advices ?
Thx :)