6
26
Fork
You've already forked simple.css
3

Consider button-as-link class #1

Closed
opened 2026年06月02日 05:53:27 +02:00 by JakeWharton · 3 comments

I have a form action button that I want to render visually as a link. There's already a class which styles a link as a button. This would be the inverse of that. A class which styles a button to look like a link.

What do you think?

I have a form action button that I want to render visually as a link. There's already a class which styles a link as a button. This would be the inverse of that. A class which styles a button to look like a link. What do you think?

Are you asking me how to do that?

Are you asking me how to do that?

I was proposing it for inclusion!

For now I've modified the button rules to have a :not(.anchor), added a button.anchor rule to remove the default styling, and added it to the hover rule.

I was proposing it for inclusion! For now I've modified the button rules to have a `:not(.anchor)`, added a `button.anchor` rule to remove the default styling, and added it to the hover rule.

Ah ok, this isn't something that's covered by custom CSS and is pretty unique, so wouldn't be added to upstream.

Thanks.

Ah ok, this isn't something that's covered by custom CSS and is pretty unique, so wouldn't be added to upstream. Thanks.
Sign in to join this conversation.
No Branch/Tag specified
main
issue253
v2.3.7
v2.3.6
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.1
v2.2.0
v.2.2.0
v2.1.1
v2.1.0
v2.0.0
v1.1.2
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kevquirk/simple.css#1
Reference in a new issue
kevquirk/simple.css
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?