1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

Improve .btn-link description

This commit is contained in:
JasonEtco 2017-11-04 13:42:50 -04:00
parent 1a9ad0fbb0
commit a5c661a0f0

View File

@ -126,7 +126,9 @@ Make any button full-width by adding `.btn-block`. It adds `width: 100%;`, chang
## Link button ## Link button
Buttons that looks like a link. **Note:** this should not be used with `.btn`. Create a button that looks like a link with `.btn-link`. Rather than using an `<a>` to trigger JS, this style on a `<button>` should be used for better accessibility.
**The `.btn-link` class is not designed to be used with `.btn`; the overlapping styles are not compatible.**
```html ```html
<p><button class="btn-link" type="button">Link button</button></p> <p><button class="btn-link" type="button">Link button</button></p>