mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Replace "xlink:href" with "href" (#1070)
This commit is contained in:
parent
a718a7e9c3
commit
4d61ba72bf
@ -194,7 +194,7 @@ Include an icon on your page with the following markup:
|
|||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round"
|
stroke-linejoin="round"
|
||||||
>
|
>
|
||||||
<use xlink:href="path/to/feather-sprite.svg#circle"/>
|
<use href="path/to/feather-sprite.svg#circle"/>
|
||||||
</svg>
|
</svg>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -216,7 +216,7 @@ However, this markup can be simplified using a simple CSS class to avoid repetit
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<svg class="feather">
|
<svg class="feather">
|
||||||
<use xlink:href="path/to/dist/feather-sprite.svg#circle"/>
|
<use href="path/to/dist/feather-sprite.svg#circle"/>
|
||||||
</svg>
|
</svg>
|
||||||
```
|
```
|
||||||
### Figma
|
### Figma
|
||||||
|
Loading…
Reference in New Issue
Block a user