emotion-js / emotion-js/facepaint
A way to skip the rest of the values in the array by just not adding them to the corresponding media at all
Open
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Hello there,
I'm trying to add some responsive behavior from a parent component to some of its children. I have a situation where the first media query is a match, but any other, I want to skip adding any values to the width property in this case. This is because the children's component receives its width dynamically.
I have:
mq(
Div:first-oftype{
Width: [100%, and the rest here I want unchanged]
Is that possible?
,,}
)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.