如何自定义twitter窗口小部件样式? [英] How to customize twitter widget style?
本文介绍了如何自定义twitter窗口小部件样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚在我的网站上实施了列表小部件: 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/embedded-timelines
您可以更改窗口小部件的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>
这篇关于如何自定义twitter窗口小部件样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文