mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-01-25 01:32:58 +02:00
Fix CDN usage snippet (#748)
Fix duplicate attribute on img element from width to height.
This commit is contained in:
parent
b967c092cb
commit
dbe97a76f5
@ -18,8 +18,8 @@ Icons can be downloaded as SVGs directly from [our website](https://simpleicons.
|
|||||||
Icons can be served from a CDN such as [JSDelivr](https://www.jsdelivr.com/package/npm/simple-icons) or [Unpkg](https://unpkg.com). Simply use the `simple-icons` npm package and specify a version in the URL like the following:
|
Icons can be served from a CDN such as [JSDelivr](https://www.jsdelivr.com/package/npm/simple-icons) or [Unpkg](https://unpkg.com). Simply use the `simple-icons` npm package and specify a version in the URL like the following:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<img width="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/stackoverflow.svg" />
|
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/stackoverflow.svg" />
|
||||||
<img width="32" width="32" src="https://unpkg.com/simple-icons@latest/icons/stackoverflow.svg" />
|
<img height="32" width="32" src="https://unpkg.com/simple-icons@latest/icons/stackoverflow.svg" />
|
||||||
```
|
```
|
||||||
|
|
||||||
### Node Usage
|
### Node Usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user