Skip to content

a11y/media-prefers-reduced-motion: errors out with nested selectors #64

@mayank99

Description

@mayank99

The following snippet errors out with Expected &, * is used with @media (prefers-reduced-motion), even though it is perfectly valid.

@media (prefers-reduced-motion: no-preference) {
  .some-class {
    &, * {
      transition: all 0.2s ease-out;
    }
  }
}

EDIT: maybe related to #57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions