Skip to content

@media queries #3

@bluestrike2

Description

@bluestrike2

The actual processing ought to be scoped so that anything nested under an @media query is isolated and the actual declarations are treated properly. Off the top of my head, the main things:

  • Recognize @media queries and their declarations properly.
  • Since source order of selectors gets mucked up, the easiest solution would be to extract queries and append to the end of the file while respecting their original order.
  • At that point, might as well merge exact queries prior to processing.

If it's alright, I'll take a better look at things later when I've got a bit more free time. Really interested in seeing how this gem can play out.

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