Skip to content

Improved appearance for checked cards #5

@Chris--S

Description

@Chris--S

When a label is linked to a checkbox by nesting or for attribute the checkbox doesn't need to be visible - it is operated by clicking on the label.

If you structure the card html as

<input id="some-id" type="checkbox" />
<label for="some-id"> <!-- card html/content --></label>

clicking the label will operate the checkbox and sibling selectors can be used to alter the appearance of the card.

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