1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00

Merge pull request #723 from AhadCove/hotfix/readme-update

Edited the example to the correct syntax: width and height
This commit is contained in:
David Klebanoff 2017-12-16 09:51:54 -08:00 committed by GitHub
commit 5e886cf79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
```html
<img width="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 width="32" height="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/stackoverflow.svg" />
<img width="32" height="32" src="https://unpkg.com/simple-icons@latest/icons/stackoverflow.svg" />
```
### Node Usage