Vimeo的iframe的背景 [英] Vimeo iframe as background
本文介绍了Vimeo的iframe的背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要提出一个网站,有一个视频作为背景。
I going to make a website that has a video as a background.
我要加载从VIMEO的视频,但我还没有发现把它全屏的最好方法。
I want to load the video from vimeo but I havent found the best way to put it fullscreen.
i'm试图将CSS添加到iframe中,但它doesn't在所有的工作:
i´m trying to add a css to the iframe but it doesn´t work at all:
iframe{
width: 100%;
height: 100%;
}
做任何你知道嵌入它作为背景,而无需使用插件或HTML5,以避免出现问题与IE浏览器的最好方法。
Do any of you know the best way to embed it as a background without using plugins or html5 to avoid problems with IE.
谢谢!
推荐答案
在这里你去:演示
包裹在一个股利和组也为100%,100%
Wrap it in a div and set that also to 100%, 100%
iframe, div {
width: 100%;
height: 100%;
}
这篇关于Vimeo的iframe的背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文