mirror of
https://github.com/primer/css.git
synced 2024-11-10 07:58:36 +03:00
Improve .btn-link description
This commit is contained in:
parent
1a9ad0fbb0
commit
a5c661a0f0
@ -126,7 +126,9 @@ Make any button full-width by adding `.btn-block`. It adds `width: 100%;`, chang
|
||||
|
||||
## 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
|
||||
<p><button class="btn-link" type="button">Link button</button></p>
|
||||
|
Loading…
Reference in New Issue
Block a user