尝试像 facebook 一样更改 Twitter 按钮样式
trying to change twitter button style like facebook
我在我的网站中加入了类似 facebook 的按钮,并且我使用了 i frame
这是我的 facebook 之类的按钮代码
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width&layout=box_count&action=like&show_faces=true&share=true&height=65" scrolling="no" frameborder="0" style="border:none;overflow:hidden;height:65px;" allowTransparency="true"></iframe>
这种风格很好,正方形,并以相同的方式修复在我的页面中
我需要应用与 facebook 相同的样式
<iframe src="//platform.twitter.com/widgets/follow_button.html?screen_name=twitterapi"
style="width: 300px; height: 20px;"
allowtransparency="true"
frameborder="0"
scrolling="no">
</iframe>
<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&size=medium&hl=en-US&url=http://test.com/&parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;height:65px;" title="+1"></iframe>
检查此来源:https://dev.twitter.com/web/overview/css(推特)
还有这个:https://developers.google.com/+/web/+1button/ (google +)
有一些示例和样式生成器如何自定义此插件
我在我的网站中加入了类似 facebook 的按钮,并且我使用了 i frame
这是我的 facebook 之类的按钮代码
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width&layout=box_count&action=like&show_faces=true&share=true&height=65" scrolling="no" frameborder="0" style="border:none;overflow:hidden;height:65px;" allowTransparency="true"></iframe>
这种风格很好,正方形,并以相同的方式修复在我的页面中
我需要应用与 facebook 相同的样式
<iframe src="//platform.twitter.com/widgets/follow_button.html?screen_name=twitterapi"
style="width: 300px; height: 20px;"
allowtransparency="true"
frameborder="0"
scrolling="no">
</iframe>
<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&size=medium&hl=en-US&url=http://test.com/&parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;height:65px;" title="+1"></iframe>
检查此来源:https://dev.twitter.com/web/overview/css(推特)
还有这个:https://developers.google.com/+/web/+1button/ (google +)
有一些示例和样式生成器如何自定义此插件