Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Using button_to_add/remove instead of link_to_add/remove to be more semantic #290

@leckylao

Description

@leckylao

By reading the article by Heydon http://coding.smashingmagazine.com/2013/08/20/semantic-css-with-intelligent-selectors/. And using the https://github.com/Heydon/REVENGE.CSS.

We would see the warning message for link_to_remove is something like: "Do you mean for this to be a link or a ? It does not link to anything!"

And warning message for link_to_add is something like "If you are going to make it look like a button, make it a button, dammit!"

Therefore, I decided to make a PR for this. Using button instead of link to make it more semantic.

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