Update README.md
parent
d6e160aa5c
commit
90e1ff3261
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
Lightweight, stylish and ethical share buttons.
|
Lightweight, stylish and ethical share buttons.
|
||||||
|
|
||||||
- **Small.** Dependency-free.
|
- **Small.** Dependency-free. CSS+JS bundle is only 3.15 KB minified and gzipped.
|
||||||
- **Stylish.** Uses official vector logos and colors.
|
- **Stylish.** Uses official vector logos and colors with no visual mess.
|
||||||
- **Ethical.** No tracking code is being embedded.
|
- **Ethical.** No tracking code is being embedded. JS is used for quick setup only.
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/NickKaramoff/shareon/develop/docs/screen01@2x.png" height="114" alt="shareon example">
|
<img src="https://raw.githubusercontent.com/NickKaramoff/shareon/develop/docs/screen01@2x.png" height="114" alt="shareon example">
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ require('shareon');
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
> shareon was heavily inspired by [Likely](https://ilyabirman.net/projects/likely/),
|
||||||
|
and has a backwards-compatible API (excluding themes and sizes).
|
||||||
|
|
||||||
Create a container with class `shareon` and populate it with elements, whose
|
Create a container with class `shareon` and populate it with elements, whose
|
||||||
classes match the names of social networks:
|
classes match the names of social networks:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue