Skip to content

[css-values-5] Add number() to coerce string values to numbers #12145

Open
@dead-claudia

Description

@dead-claudia

There's ident() for identifiers, and #12072 got me thinking it'd pair exceptionally well with counter(), like number(counter(name)).

Concretely, this could also be useful for ordering in some advanced use cases as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions