当前第2页 返回上一页
先插入如下代码:
1 | <video src= "../video/2b.mp4" loop= "loop" autoplay= "autoplay" ></video>
|
css修饰如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <style>
body{
margin:0;
}
video{
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
-webkit-filter: grayscale(20%);
}
</style>
|
相关学习推荐:html教程
以上就是HTML如何设置video为不透明背景的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
在Html里select标签有哪些用法
Html超链接字体颜色怎么改?超链接字体颜色的更改方法总结
关于Html 5的足以改变我们未来生活的十项提示
Html怎么通过id获得背景色
Html里的列表标签有哪些?
Html的<basefont>标签
Html怎么设置字体属性
vue框架是什么
js怎么去掉Html标签
Html !doctype标签怎么用
更多相关阅读请进入《Html》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » HTML如何设置video为不透明背景