[英]How do I increase the width and font-size of my twitter feed widget?
我創建了一個純JS Twitter Twitter提要小部件,但是,我無法弄清楚如何將提要的寬度增加到960像素並增大字體大小。
我已經做了幾個Google搜索,建議添加一些CSS以定位並增加iframe的大小
#twitter-widget-0{width:960px;} /*this does not work*/
這是我的工作提要的jsFiddle 。 提前致謝!
我找到了固定寬度的答案:
在我添加的CSS:
iframe[id^='twitter-widget-']{ width:100% !important;}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.