CSSRules
See: https://drafts.csswg.org/css-nesting/#nest-selector
"& > * + *": {
marginLeft: 16
},
// In a comma-separated list, each individual selector shall start with "&"
"&:focus, &:active": {
outline: "solid"
},
// Self-references are also supported
"& + &": {
color: "green"
}
interface CSSRules {
[key: string]: CSSRuleValue;
:global?: CSSRulesThunk<MaybeArray<CSSRules>> | MaybeArray<CSSRules>;
@apply?: MaybeArray<string | Falsy | TypescriptCompat>;
@font-face?: CSSRulesThunk<MaybeArray<FontFace>> | MaybeArray<FontFace>;
@global?: CSSRulesThunk<MaybeArray<CSSRules>> | MaybeArray<CSSRules>;
@import?: CSSRulesThunk<MaybeArray<string>> | MaybeArray<string>;
@keyframes?: CSSRulesThunk<CSSAtKeyframes> | CSSAtKeyframes;
}§Index Signatures
§
[key: string]: CSSRuleValue
§Properties
§
:global?: CSSRulesThunk<MaybeArray<CSSRules>> | MaybeArray<CSSRules>
[src]§
@apply?: MaybeArray<string | Falsy | TypescriptCompat>
[src]§
@font-face?: CSSRulesThunk<MaybeArray<FontFace>> | MaybeArray<FontFace>
[src]§
@global?: CSSRulesThunk<MaybeArray<CSSRules>> | MaybeArray<CSSRules>
[src]§
@import?: CSSRulesThunk<MaybeArray<string>> | MaybeArray<string>
[src]§
@keyframes?: CSSRulesThunk<CSSAtKeyframes> | CSSAtKeyframes
[src]