Replace "xlink:href" with "href" (#1070)

This commit is contained in:
Mickaël Fernandez 2021-09-22 07:53:39 +02:00 committed by GitHub
parent a718a7e9c3
commit 4d61ba72bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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