85
rated 0 times
[
88]
[
3]
/ answers: 1 / hits: 21943
/ 10 Years ago, wed, february 18, 2015, 12:00:00
I want to place a html5 video (with the video tag of course) with 100% width and 100% height which will play in the background. Here is an example with an image and I want exactly the same with a video, I just didn't find out how to do that:
#image {
background-image: url(image.jpg);
background-repeat: no-repeat;
background-size: 100% 100%;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
}
JSFiddle: http://jsfiddle.net/u9ncpyfu/
More From » css