Browse Source
Icons.md: font awesome does no longer need aria-hidden
master
Stephan Bösch-Plepelits
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
doc/Icons.md
|
|
@ -17,8 +17,8 @@ This will include the image from your repository (when uploaded to your 'img' di |
|
|
|
#### Font Awesome Icons |
|
|
|
[Font Awesome 5 Free](https://fontawesome.com/) is included in OpenStreetBrowser, therefore you can use, e.g.: |
|
|
|
```html |
|
|
|
<i class="fas fa-compass" aria-hidden="true"></i> <!-- solid --> |
|
|
|
<i class="far fa-compass" aria-hidden="true"></i> <!-- regular --> |
|
|
|
<i class="fas fa-compass"></i> <!-- solid --> |
|
|
|
<i class="far fa-compass"></i> <!-- regular --> |
|
|
|
``` |
|
|
|
|
|
|
|
You can use normal CSS to modify its look, e.g. |
|
|
|