当前位置:   article > 正文

Html 视频分屏显示[转]_html动态分屏播放视频

html动态分屏播放视频

Html 视频分屏显示[转]

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <style>
  9. .video-window {
  10. float: left;
  11. margin-left: 1%;
  12. margin-bottom: 1%;
  13. width: 48%;
  14. height: 0;
  15. position: relative;
  16. padding-bottom: 25%;
  17. background-color: #000;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <div class="video-show">
  23. <div class="video-window" alt="1">
  24. </div>
  25. <div class="video-window" alt="2">
  26. </div>
  27. <div class="video-window" alt="3">
  28. </div>
  29. <div class="video-window" alt="4">
  30. </div>
  31. </div>
  32. </body>
  33. </html>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/97463
推荐阅读
相关标签
  

闽ICP备14008679号