-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.html
97 lines (80 loc) · 1.8 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Share!</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="rsb.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
rsb({
position: 'bottom',
twitterUsername: 'olofbrickarp'
});
rsb({
selector: '.rsb-two',
position: 'top',
facebookShareUrl: 'https://www.facebook.com/UnderstanditAB'
});
});
</script>
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
font-family: 'helvetica neue', arial, sans-serif;
}
body {
position: relative;
background-color: #41D9B7;
}
.intro {
background-color: #fff;
padding: 20px 20px 0;
text-align: center;
}
h1 {
margin: 0;
}
.menu {
padding: 20px;
background-color: #fff;
text-align: center;
}
.menu .rsb {
display: inline-block;
}
.menu .rsb-buttons a {
background-color: #fff;
border-color: #41D9B7;
}
.middle {
margin: 50px auto 0;
width: 50px;
height: 50px;
padding: 100px;
background-color: #fff;
border-radius: 50%;
}
</style>
<link rel="stylesheet" href="rsb.css" />
</head>
<body>
<div class="intro">
<h1>rsb demo</h1>
</div>
<div class="menu">
<div class="rsb"></div>
</div>
<div class="middle">
<div class="rsb-two"></div>
</div>
</body>
</html>