更新时间:2023-01-15 18:01:58
无法修改iframe中的内容的DOM或样式。你***做的是链接到不同样式的iframe,因为twitter提供了明亮和黑暗的主题。
There's no way to modify the DOM or style of the content in an iframe. The best you can do is link to a different-styled iframe, as twitter offers both light and dark themes.
编辑:话虽如此, < a>
标记,可用于进一步自定义主题。尝试修改数据按钮
, data-text-color
和 data-link-颜色
参数!
That being said, there are several parameters in the <a>
tag that can be used to customize the theme even further. Try modifying the data-button
, data-text-color
, and data-link-color
parameters to your liking!