File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- # share-buttons [ ![ version] ( http://img.shields.io/badge/release-v1.0.0-brightgreen.svg?style=flat )] ( https://github.com/wcoder/share-buttons/archive/master.zip )
1
+ # share-buttons [ ![ version] ( http://img.shields.io/badge/release-v1.0.0-brightgreen.svg?style=flat )] ( https://github.com/wcoder/share-buttons/archive/master.zip ) [ ![ license ] ( http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat )] ( https://github.com/wcoder/share-buttons/blob/master/LICENSE )
2
2
3
3
Simple social buttons for your site.
4
4
@@ -10,11 +10,11 @@ Simple social buttons for your site.
10
10
11
11
## Install
12
12
Include ` share-buttons.js ` in the end of page:
13
- ```
13
+ ``` html
14
14
<script src =" ../dist/share-buttons.js" ></script >
15
15
```
16
16
Paste this html on the page:
17
- ```
17
+ ``` html
18
18
<div class =" share-btn" >
19
19
<a class =" btn-vk" data-id =" vk" >VK</a >
20
20
<a class =" btn-facebook" data-id =" fb" >Facebook</a >
@@ -23,7 +23,7 @@ Paste this html on the page:
23
23
</div >
24
24
```
25
25
Added styles:
26
- ```
26
+ ``` css
27
27
.share-btn > a {
28
28
border : 1px solid #ccc ;
29
29
padding : 5px ;
@@ -38,7 +38,7 @@ Profit!!
38
38
39
39
## Customization
40
40
Custom 'url', 'title', 'description':
41
- ```
41
+ ``` html
42
42
<div class =" share-btn" data-url =" https://..." data-title =" ..." data-desc =" ..." >
43
43
<a class =" btn-vk" data-id =" vk" >VK</a >
44
44
<a class =" btn-facebook" data-id =" fb" >Facebook</a >
@@ -50,4 +50,4 @@ Styles - full customization.
50
50
51
51
----
52
52
53
- © ; 2015 - Yauheni Pakala [ ![ license ] ( http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat )] ( https://github.com/wcoder/share-buttons/blob/master/LICENSE )
53
+ © ; 2015 - Yauheni Pakala
You can’t perform that action at this time.
0 commit comments