index.wxss 741 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .canvas-wrap {
  2. position: relative;
  3. width: 100%;
  4. background-color: #000;
  5. }
  6. .canvas-wrap #canvas {
  7. position: absolute;
  8. left: 0;
  9. top: 0;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .hint-box {
  14. position: absolute;
  15. left: 0%;
  16. top: 0%;
  17. width: 0;
  18. height: 0;
  19. }
  20. .hint-id {
  21. position: absolute;
  22. left: -6rpx;
  23. right: -6rpx;
  24. bottom: 100%;
  25. color: #fff;
  26. font-size: 20rpx;
  27. line-height: 40rpx;
  28. text-align: center;
  29. text-overflow: ellipsis;
  30. background-color: red;
  31. border-radius: 8rpx;
  32. }
  33. .wrap-fix {
  34. position: absolute;
  35. left: 0;
  36. top: 0;
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .video {
  41. position: absolute;
  42. top: 0;
  43. left: 0;
  44. width: 100%;
  45. height: 100%;
  46. z-index: 999;
  47. }