css学习之----video原地播放

标签:

<video class="hide prevue_video" id="v_video_ele" webkit-playsinline playsinline x5-playsinline controls src=""></video>

css: 

#v_video_ele {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: fill;
    z-index: 100;
}

 

posted @ 2019-04-01 10:17  程序员冒冒  阅读(397)  评论(0编辑  收藏  举报