index.wxss 686 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* 矩形盒子 */
  2. .rectangle_box {
  3. position: relative;
  4. width: 590rpx;
  5. border-radius: 20rpx;
  6. margin: auto;
  7. padding-top: 40rpx;
  8. padding-bottom: 70rpx;
  9. overflow: hidden;
  10. z-index: 1;
  11. }
  12. /* 盒子背景颜色 */
  13. .rectangle_box>.box-bg {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. background-color: #ffffff;
  18. opacity: 0.4;
  19. top: 0;
  20. left: 0;
  21. z-index: -1;
  22. }
  23. /* 标题 */
  24. .rectangle_title {
  25. width: 100%;
  26. text-align: center;
  27. font-size: 36rpx;
  28. font-weight: 600;
  29. color: #000000;
  30. margin-bottom: 30rpx;
  31. z-index: 1;
  32. }
  33. /* 插入内容 */
  34. .slot_con{
  35. width: 510rpx;
  36. margin: 0 auto;
  37. z-index: 1;
  38. }