Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

previewmobile.html 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,viewport-fit=cover"/>
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  8. <meta name="format-detection" content="telephone=no" />
  9. <!-- <link rel="stylesheet" type="text/css" href="引入h5页面基础样式"> -->
  10. <style>
  11. .phone_body::-webkit-scrollbar {
  12. /*滚动条整体样式*/
  13. width : 10px; /*高宽分别对应横竖滚动条的尺寸*/
  14. height: 1px;
  15. }
  16. .phone_body::-webkit-scrollbar-thumb {
  17. /*滚动条里面小方块*/
  18. border-radius : 10px;
  19. background-color: #4a4a4b3d;
  20. background-image: -webkit-linear-gradient(
  21. 45deg,
  22. transparent 100%,
  23. transparent
  24. );
  25. }
  26. .phone_body::-webkit-scrollbar-track {
  27. /*滚动条里面轨道*/
  28. background :unset;
  29. border-radius: 10px;
  30. }
  31. #phone_preview_div{
  32. width: 100%;
  33. }
  34. img {
  35. -ms-interpolation-mode: bicubic;
  36. }
  37. img {
  38. max-width: 100%;
  39. }
  40. video{
  41. max-width: 100%;
  42. }
  43. </style>
  44. </head>
  45. <body class="phone_body">
  46. <div id="phone_preview_div"></div>
  47. </body>
  48. </html>