如何自定义推特小部件样式? [英] How to customize twitter widget style?
本文介绍了如何自定义推特小部件样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚在我的网站上实现了列表小部件:https://dev.twitter.com/docs/embedded-timelines
I just implemented the lists widget on my site: https://dev.twitter.com/docs/embedded-timelines
我只想将背景颜色从白色覆盖为透明.由于它是一个嵌入式小部件,我无法直接编辑它.有人可以帮我吗?
I just want to override the background-color from white to transparent. Since it is a embedded widget I cannot edit it directly. Can anyone help me with it?
推荐答案
https://dev.twitter.com/docs/嵌入时间线
您可以更改小部件的 Chrome,以隐藏页眉/页脚/边框或背景.
You can change the Chrome of the widget, to hide the header/footer/border or background.
<a class="twitter-timeline" href="https://twitter.com/twitterapi" data-widget-id="<YOUR ID>" data-theme="dark" data-link-color="#000" data-chrome="noheader nofooter noborders transparent" data-related="twitterapi,twitter" data-aria-polite="assertive" width="300" height="300" lang="EN">Tweets by @twitterapi</a>
这篇关于如何自定义推特小部件样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文