Skip to content

Example in article about :checked pseudo-class is not working #19

Closed
@Walkeryr

Description

@Walkeryr

Article link.

fwyohlabhz

That's because in css code there is no equals sign in attribute selector:

input[type "checkbox"]:checked + label {
  text-decoration: line-through;
  color: grey;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions