index.wxss 590 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* pages/example/index.wxss */
  2. .container{
  3. overflow: hidden;
  4. }
  5. .container>video{
  6. height: 100%;
  7. width: 100%;
  8. position: fixed;
  9. }
  10. .ai_bottom{
  11. width: 280rpx;
  12. display: inline-block;
  13. text-align: center;
  14. position: fixed;
  15. bottom: 8%;
  16. left: 50%;
  17. transform: translateX(-50%);
  18. font-size: 0;
  19. z-index: 999;
  20. }
  21. .ai_bottom > image{
  22. width: 100%;
  23. margin: 0 auto;
  24. display: inline-block;
  25. }
  26. .ai_bottom > text{
  27. font-size: 28rpx;
  28. display: inline-block;
  29. color: #fff;
  30. position: absolute;
  31. top: 50%;
  32. left: 50%;
  33. line-height: 100%;
  34. transform: translate(-50%,-50%);
  35. }