Skip to content

Issue with ":local-link": css rule not working #4030

@Dorin-David

Description

@Dorin-David

MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/:local-link

What information was incorrect, unhelpful, or incomplete?

When explaining the :local-link pseudo-class, an example follows where the local link's color is set to red. However, in the output the color is still blue.

Specific section or headline?

What did you expect to see?

Did you test this? If so, how?

I've tried the selector on my machine, and also in Chrome, but it's not working. Can someone explain what's going on?

MDN Content page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions