Hacker News new | ask | show | jobs
by amadeuspagel 866 days ago
So this is the way you're supposed to use it? Is this accessible?

    <a href="https://github.com/louismerlin/concrete.css"><button>GitHub</button></a>
    <a href="https://www.npmjs.com/package/concrete.css"><button>npm</button></a>
    <a href="https://unpkg.com/concrete.css"><button>CDN</button></a>
1 comments

Only if you want a hyperlink that looks like a button. It's the only way I was able to do it in a classless way, but I'm open to other ideas.
Yes, I've understood that. But a hyperlink that looks like a button -- that's the kind of thing we have CSS for, and CSS also allows you to do more complex things, like a hyperlink that's more prominent then a typical link and invites you to click it, like a button, but which is still recognizable as a link, for example with an underline on hover, so that you know you can open it in a new tab.