我尝试在一条线上制作社交媒体(google+、facebook、twitter),但每个社交媒体都有不同的路线。看到这个
这段代码:
<div style="display:inline-block">
<div style="float:left">
<div class="g-plusone" data-size="small" data-href=""></div>
</div>
<div style="float:left">
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width=The+pixel+width+of+the+plugin&height=21&colorscheme=light&layout=button_count&action=like&show_faces=false&send=false&appId=196962990473575" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:The pixel width of the pluginpx; height:21px;" allowTransparency="true"></iframe>
</div>
<div style="float:left">
<a href="https://twitter.com/twitter" class="twitter-follow-button" data-show-count="false">Follow @twitter</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>