Skip to content

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

@vladyn

Description

@vladyn

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?

,,}
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions