Ajax Loader
×
HTML
<div id="buttons">
1
<div id="buttons">
2
  <div class="facebook button">
3
    <i class="icon">
4
      <i class="icon-facebook">
5
    </i>
6
  </i>
7
  <div class="slide">
8
    <p>
9
      facebook
10
    </p>
11
  </div>
12
  <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Freference%2Fplugins%2Flike&send=false&layout=button_count&width=80&show_faces=false&font&colorscheme=light&action=like&height=20&appId=568581339861351" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:20px;" allowTransparency="true">
13
  </iframe>
14
  </div>
15
  
16
  <div class="twitter button">
17
    <i class="icon">
18
      <i class="icon-twitter">
19
    </i>
20
  </i>
21
  <div class="slide">
22
    <p>
23
      twitter
24
    </p>
25
  </div>
26
  <a href="https://twitter.com/share" class="twitter-share-button" data-via="mariuCSS">
27
    Tweet
28
  </a>
29
  <script>
30
    !function(d,s,id){
31
      var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
32
      if(!d.getElementById(id)){
33
        js=d.createElement(s);
34
        js.id=id;
35
        js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
36
  </script>
37
  </div>
38
  
39
  <div class="google button">
40
    <i class="icon">
41
      <i class="icon-google-plus">
42
    </i>
43
  </i>
44
  <div class="slide">
45
    <p>
46
      google+
47
    </p>
48
  </div>
49
  <!-- Place this tag where you want the +1 button to render. -->
50
  <div class="g-plusone" data-size="medium">
51
  </div>
52
  
53
  <!-- Place this tag after the last +1 button tag. -->
54
  <script type="text/javascript">
55
    (function() {
56
      var po = document.createElement('script');
57
      po.type = 'text/javascript';
58
      po.async = true;
59
      po.src = 'https://apis.google.com/js/plusone.js';
60
      var s = document.getElementsByTagName('script')[0];
61
      s.parentNode.insertBefore(po, s);
62
    }
63
    )();
64
  </script>
65
  </div>
66
  
67
  
68
  <div class="linkedin button">
69
    <i class="icon">
70
      <i class="icon-linkedin">
71
    </i>
72
  </i>
73
  <div class="slide">
74
    <p>
75
      linkedin
76
    </p>
77
  </div>
78
  <script type="IN/Share" data-counter="right">
79
  </script>
80
  <script src="//platform.linkedin.com/in.js" type="text/javascript">
81
    lang: en_US
82
  </script>
83
  </div>
84
</div>
85
 
 
CSS
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400);
1
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400);
2
 
3
@import "//netdna.bootstrapcdn.com/font-awesome/3.0/css/font-awesome.css";
4
 
5
html, body {
6
    min-height: 100%;
7
}
8
 
9
#buttons {
10
    border-radius: 5px;
11
    padding: 14px 7px;
12
    background: white;
13
    width: 660px;
14
    overflow: hidden;
15
    margin: 150px auto 0;
16
    box-shadow:0 2px 3px rgba(71, 71, 71, 0.31);
17
}
18
 
19
 
20
.button {
21
    background: #DCE0E0;
22
    position: relative;
23
    display: block;
24
    float: left;
25
    height: 40px;
26
    margin: 0 7px;
27
    overflow: hidden;
28
    width: 150px;
29
    border-radius: 3px;
30
    -o-border-radius: 3px;
31
    -ms-border-radius: 3px;
32
    -moz-border-radius: 3px;
33
    -webkit-border-radius: 3px;
34
}
35
 
36
.icon {
37
    display: block;
38
    float: left;
39
    position: relative;
40
    z-index: 3;
41
    height: 100%;
42
    vertical-align: top;
43
    width: 38px;
44
    -moz-border-radius-topleft: 3px;
45
    -moz-border-radius-topright: 0px;
46
    -moz-border-radius-bottomright: 0px;
47
    -moz-border-radius-bottomleft: 3px;
48
    -webkit-border-radius: 3px 0px 0px 3px;
49
    border-radius: 3px 0px 0px 3px;
50
    text-align: center;
51
}
52
 
53
.icon i {
54
    color: #fff;
55
    line-height: 42px;
56
}
57
 
58
.slide {
59
    z-index: 2;
60
    display: block;
61
    margin: 0;
62
    height: 100%;
63
    left: 38px;
64
    position: absolute;
65
    width: 112px;
66
    -moz-border-radius-topleft: 0px;
67
    -moz-border-radius-topright: 3px;
68
    -moz-border-radius-bottomright: 3px;
69
    -moz-border-radius-bottomleft: 0px;
70
    -webkit-border-radius: 0px 3px 3px 0px;
71
    border-radius: 0px 3px 3px 0px;
72
}
73
 
74
.slide p {
75
    font-family: Open Sans;
76
    font-weight: 400;
77
    border-left: 1px solid #fff;
78
    border-left: 1px solid rgba(255,255,255,0.35);
79
    color: #fff;
80
    font-size: 16px;
81
    left: 0;
82
    margin: 0;
83
    position: absolute;
84
    text-align: center;
85
    top: 10px;
86
    width: 100%;
87
}
88
 
89
.button .slide {
90
    -webkit-transition: all 0.2s ease-in-out;
91
    -moz-transition: all 0.2s ease-in-out;
92
    -ms-transition: all 0.2s ease-in-out;
93
    -o-transition: all 0.2s ease-in-out;
94
    transition: all 0.2s ease-in-out;
95
}
96
 
97
.facebook iframe {
98
    display: block;
99
    position: absolute;
100
    right: 16px;
101
    top: 10px;
102
    z-index: 1;
103
}
104
 
105
.twitter iframe {
106
    width: 90px !important;
107
    right: 5px;
108
    top: 10px;
109
    z-index: 1;
110
    display: block;
111
    position: absolute;
112
}
113
 
114
.google #___plusone_0 {
115
    width: 70px !important;
116
    top: 10px;
117
    right: 15px;
118
    position: absolute;
119
    display: block;
120
    z-index: 1;
121
}
122
 
123
.linkedin .IN-widget {
124
    top: 10px;
125
    right: 22px;
126
    position: absolute;
127
    display: block;
128
    z-index: 1;
129
}
130
 
131
.facebook:hover .slide {
132
    left: 150px;
133
}
134
 
135
.twitter:hover .slide {
136
    top: -40px;
137
}
138
 
139
.google:hover .slide {
140
    bottom: -40px;
141
}
142
 
143
.linkedin:hover .slide {
144
    left: -150px;
145
}
146
 
147
.facebook .icon, .facebook .slide {
148
    background: #305c99;
149
}
150
 
151
.twitter .icon, .twitter .slide {
152
    background: #00cdff;
153
}
154
 
155
.google .icon, .google .slide {
156
    background: #d24228;
157
}
158
 
159
.linkedin .icon, .linkedin .slide {
160
    background: #007bb6;
161
}
 

Share with Hover

CSSDeck G+