Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to skip the rest of the values in the array by just not adding them to the corresponding media at all #30

Open
vladyn opened this issue Jun 27, 2023 · 0 comments

Comments

@vladyn
Copy link

vladyn commented Jun 27, 2023

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?

,,}
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant