【问题标题】:trying to change twitter button style like facebook试图改变 twitter 按钮的样式,如 facebook
【发布时间】:2015-04-27 17:07:47
【问题描述】:

我在我的网站中加入了 facebook like 按钮,我使用了i frame 这是我的 Facebook 按钮代码

<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;width&amp;layout=box_count&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=65" scrolling="no" frameborder="0" style="border:none;overflow:hidden;height:65px;" allowTransparency="true"></iframe>

这种风格很好,它的正方形和修复在我的页面中我尝试应用twittergoogle+在这里我没有得到与facebook一样的风格

我需要像 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&amp;size=medium&amp;hl=en-US&amp;url=http://test.com/&amp;parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;height:65px;" title="+1"></iframe>

【问题讨论】:

    标签: css facebook facebook-graph-api twitter


    【解决方案1】:

    查看此来源:https://dev.twitter.com/web/overview/css(推特)

    还有这个:https://developers.google.com/+/web/+1button/ (google +)


    有一些示例和样式生成器如何自定义此插件

    【讨论】:

      猜你喜欢
      • 2013-02-20
      • 2016-03-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-10
      相关资源
      最近更新 更多