-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshare.html
140 lines (126 loc) · 4.29 KB
/
share.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.fbBtn {
width:240px;
height:35px;
display:block;
font-family:Arial, "Helvetica", sans-serif;
font-size:16px;
font-weight:bold;
color:#fff;
text-decoration:none;
text-transform:uppercase;
text-align:center;
text-shadow:1px 1px 0px #37a69b;
padding-top:6px;
margin: 29px 0 0 29px;
position:relative;
cursor:pointer;
border: none;
background-color: #4267b2;
background-image: linear-gradient(top,#4267b2,#3111);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius:5px;
box-shadow: inset 0px 1px 0px #4267b2, 0px 5px 0px 0px #4267b2, 0px 10px 5px #4267b2;
}
.WhatsappBtn {
width:240px;
height:35px;
display:block;
font-family:Arial, "Helvetica", sans-serif;
font-size:16px;
font-weight:bold;
color:#fff;
text-decoration:none;
text-transform:uppercase;
text-align:center;
text-shadow:1px 1px 0px #37a69b;
padding-top:6px;
margin: 29px 0 0 29px;
position:relative;
cursor:pointer;
border: none;
background-color: #1ebea5;
background-image: linear-gradient(top,#1ebea5,#3111);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius:5px;
box-shadow: inset 0px 1px 0px #1ebea5, 0px 5px 0px 0px #1ebea5, 0px 10px 5px #1ebea5;
}
.fbIcon {
background-image: url("Fb.png");
/* background-size: auto; */
width: 20px;
height: 20px;
display: inline-block;
/* background-position: center; Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
.WhatsAppIcon {
background-image: url("whatsapp.jpg");
width: 20px;
height: 20px;
display: inline-block;
/* background-position: center; Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
/* Darker background on mouse-over */
.btn:hover {
background-color: RoyalBlue;
}
.share {
/* background: #eceeee;
border: 1px solid #42464b;
border-radius: 6px; */
height: 160px;
margin: 20px auto 0;
width: 298px;
}
.share h1 {
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
border-bottom: 1px solid #a6abaf;
border-radius: 6px 6px 0 0;
box-sizing: border-box;
color: #727678;
display: block;
height: 43px;
font: 600 14px/1 'Open Sans', sans-serif;
padding-top: 14px;
margin: 0;
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
}
.shadow {
background: #000;
border-radius: 12px 12px 4px 4px;
box-shadow: 0 0 20px 10px #000;
height: 12px;
margin: 30px auto;
opacity: 0.2;
width: 270px;
}
</style>
</head>
<body>
<div class="share">
<!-- <input type="FB" value="FaceBook Share" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fpepperlunchgame.com%2F&src=sdkpreparse')">
<input type="Whatsapp" value="Whatsapp Share" onclick="window.open('https://api.whatsapp.com/send?text=https://pepperlunchgame.com')"> -->
<button class="fbBtn" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fpepperlunchgame.com%2F&src=sdkpreparse')">
<!-- <i class="fbIcon"></i> -->
Share on Facebook
</button>
<button class="WhatsappBtn" onclick="window.open('https://api.whatsapp.com/send?text=https://pepperlunchgame.com')">
<!-- <i class="WhatsAppIcon"></i> -->
Share on Whatsapp
</button>
<!-- <button class="btn btn-primary" onclick="window.open('https://api.whatsapp.com/send?text=https://pepperlunchgame.com')"><i class="fa fa-css3 icon" aria-hidden="true"></i>BUTTON</button> -->
</div>
</body>