关于html5的video全屏作为背景的方法

君哥 阅读:1816 2019-12-09 10:00:46 评论:1

这个代码简洁好用。

   
        *{  
            margin: 0px;  
            padding: 0px;  
        }  
        video{  
            position: fixed;  
            right: 0px;  
            bottom: 0px;  
            min-width: 100%;  
            min-height: 100%;  
            height: auto;  
            width: auto;  
            /*加滤镜*/  
            /*-webkit-filter: grayscale(100%);*/  
            /*filter:grayscale(100%);*/  
        }  
        source{  
            min-width: 100%;  
            min-height: 100%;  
            height: auto;  
            width: auto;  
        }  
      
  
  
//资源格式自己进行添加  
   
    ;  
  

关于html5的video全屏作为背景的方法  css SQLServer 第1张

本文链接:https://www.yanjun202.com/post/13.html 

分享到:
标签:cssSQLServer
可以去百度分享获取分享代码输入这里。
发表评论
  • w***8(匿名) 发表于 刚刚 回复

    这篇文章写的真好,写的非常详细,内容丰富,图文并茂,很实用认真看完收获很大,期待博主下一篇精彩文章的更新。

搜索
关注我们

扫一扫关注我们,了解最新精彩内容