Skip to content

Syntax explanation for & nesting selector is confusing #42940

@ndelafuente

Description

@ndelafuente

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Nesting_selector

What specific section or headline is this issue about?

Syntax

What information was incorrect, unhelpful, or incomplete?

The Syntax section is a quite verbose, making it difficult to parse out the different syntaxes for the & selector at a glance. What is now the syntax section is very useful for first-time learners and would perhaps be moved to a Usage notes/guide section.

What did you expect to see?

A concise syntax section that can be quickly scanned, with minimal examples illustrating each form of & usage, while a more detailed explanation of the nuanced usage lie below in separate a "Usage notes" section.

Do you have any supporting links, references, or citations?

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions