Skip to content

Feature request: forced active state for buttons #215

@brandongregoryscott

Description

@brandongregoryscott

Hi there! I love the project and I'm planning to use it in a project I'm working on. One thing that I would love to have is the ability to explicitly render a button in an :active state. There's an example of this in the docs, but it's not clear how this is being done. (The code just shows a <button> element without any attributes)

Image

I think it would be pretty easy to support with a data attribute selector, like button[data-active]: { ... sunken styles }

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