Skip to content

::marker pseudo-element #729

@nileshprajapati

Description

@nileshprajapati

Description

The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements.

  • Safari support is limited to color and font-size. See bug 204163.
  • Webkit currently does not support ::marker pseudo-element for summary element and instead relies on non-standard ::-webkit-details-marker pseudos in WebKit-based browsers.

Specification
https://www.w3.org/TR/css-pseudo-4/#selectordef-marker

Specification

https://www.w3.org/TR/css-pseudo-4/#selectordef-marker

Additional Signals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions