操纵soundcloud iframe小部件 [英] Manipulate soundcloud iframe widget
问题描述
我正在使用iframe将soundcloud加载到我的网站中。是否可以编辑soundcloud iframe的样式。例。将iframe的类设置为
I'm loading soundcloud into my website using iframes. Is it possible to edit the style of the soundcloud iframe. Example. Set a class of the iframe to
visibility:hidden
visibility : hidden
或者是否有其他方法来操纵这个iframe。
Or is there another way to manipulate this iframe.
推荐答案
你的iframe独立于 soundcloud api 。您可以随心所欲地为iframe设置样式,例如点击此处。您基本上可以使用style属性为iframe内联样式。如果要使用CSS样式表,则需要使用<链接>等。
Your iframe is independent of the soundcloud api. You can style you iframe anyway you want e.g check here. You can basically style the iframe inline using the style attribute. If you want to use CSS stylesheet you need to import it into the page using < link > etc.
这篇关于操纵soundcloud iframe小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!