Skip to content

Pseudo class for state: should it be :checked? #3

Open
@domenic

Description

@domenic

Related to #2. I see a few options:

  • Use :checked and :not(:checked)
  • Use :state(on), and then either :state(off) or :not(:state(on))
  • If we go with the simple attribute reflection, we can use attribute selectors: [checked] and :not([checked]) or [on] and :not([on]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions