Няма описание

money_saving_guide.html 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  7. <title>省钱攻略</title>
  8. <link rel="stylesheet" type="text/css" href="../public/public_css.css"/>
  9. <style type="text/css">
  10. html,body {width: 100%;padding: 0;margin: 0;}
  11. body{background: #F7F7F7;box-sizing: border-box;}
  12. img {width: 100%;height: 100%;}
  13. .liveplayer {
  14. position: relative;
  15. width: 100%;
  16. height: 100vh;
  17. background: url("../image/bgVideo.png");
  18. }
  19. video {
  20. width: 100%;
  21. height: 100vh;
  22. position: absolute;
  23. bottom: 0;
  24. left: 0;
  25. }
  26. .btn-div {
  27. width: 100%;
  28. height: 100%;
  29. position: fixed;
  30. top: 0;
  31. bottom: 0;
  32. right: 0;
  33. left: 0;
  34. margin: auto;
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. }
  39. .btn{
  40. width: 1rem;
  41. height: 1rem;
  42. }
  43. .btn img{
  44. width: 100%;
  45. height: 100%;
  46. }
  47. </style>
  48. <script type="text/javascript">
  49. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  50. window.onresize = function(){
  51. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  52. }
  53. </script>
  54. </head>
  55. <body>
  56. <img src="./img/money_saving_guide.png" alt="">
  57. <div class="liveplayer">
  58. <video controls poster="img/bgVideo.png">
  59. <!-- <source src="video/liedou_taobao.mp4" type="video/mp4"> -->
  60. <source src="../video/liedou_taobao.mp4" type="video/mp4">
  61. </video>
  62. </div>
  63. </body>
  64. </html>