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
#30 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.