Hello,
I am trying to make a social buttons like Preview Here
I am able to done 30% of it, but I don't know how to adjust the height of buttons and align the text next to icons properly!
So far I have code this.
HTML Code:<div class="post-head"> <!-- Twitter --> <a href="http://twitter.com/home?status=" title="Share on Twitter" target="_blank" type="button" class="btn btn-twitter"><i class="fa fa-twitter"></i>Share on Twitter</a> <!-- Facebook --> <a href="https://www.facebook.com/sharer/sharer.php?u=" title="Share on Facebook" target="_blank" class="btn btn-facebook"><i class="fa fa-facebook"></i>Share on Facebook</a> <!-- Google+ --> <a href="https://plus.google.com/share?url=" title="Share on Google+" target="_blank" class="btn btn-googleplus"><i class="fa fa-google-plus"></i>Share on Google+</a> <!-- StumbleUpon --> <a href="http://www.stumbleupon.com/submit?url=" title="Share on StumbleUpon" target="_blank" data-placement="top" class="btn btn-stumbleupon"><i class="fa fa-stumbleupon"></i> Stumbleupon</a> </div>Any help will be highly appreciate (:HTML Code:.post-head{ font-size: 14px; margin-bottom: 30px; } .btn-twitter { background: #00acee; border-radius: 0; color: #fff; } .btn-twitter:link, .btn-twitter:visited { color: #fff } .btn-twitter:active, .btn-twitter:hover { background: #0087bd; color: #fff } .btn-facebook { background-color: #3b5998; border-color: #3b5998; } .btn-facebook:link, .btn-facebook:visited { color: #fff } .btn-facebook:active, .btn-facebook:hover { background: #30477a; color: #fff } .btn-googleplus { background: #e93f2e; border-radius: 0; color: #fff } .btn-googleplus:link, .btn-googleplus:visited { color: #fff } .btn-googleplus:active, .btn-googleplus:hover { background: #ba3225; color: #fff } .btn-stumbleupon { background: #f74425; border-radius: 0; color: #fff } .btn-stumbleupon:link, .btn-stumbleupon:visited { color: #fff } .btn-stumbleupon:active, .btn-stumbleupon:hover { background: #c7371e; color: #fff } .btn-linkedin { background: #0e76a8; border-radius: 0; color: #fff } .btn-linkedin:link, .btn-linkedin:visited { color: #fff } .btn-linkedin:active, .btn-linkedin:hover { background: #0b6087; color: #fff } .fa { margin-right: 8px; display: inline-block; font-size: 18px; line-height: 1; -webkit-font-smoothing: antialiased; } .fa-sitename { // Add CSS here to target individual buttons }
Many Thanks,
Bilal



Reply With Quote


Bookmarks