wxbutton.wxss 573 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* pages/components/wxbutton/wxbutton.wxss */
  2. .container {
  3. position: fixed;
  4. left: 0;
  5. right: 0;
  6. top: 0;
  7. bottom: 0;
  8. z-index: 999;
  9. padding-top: 100rpx;
  10. box-sizing: border-box;
  11. background: #fff;
  12. }
  13. .text {
  14. width: 100%;
  15. margin: auto;
  16. font-size: 28rpx;
  17. color: #333;
  18. line-height: 42rpx;
  19. text-align: center;
  20. }
  21. .btn {
  22. border: none;
  23. padding: 0;
  24. margin: 0;
  25. outline: none;
  26. width: 100%;
  27. }
  28. .btn::after {
  29. content: "";
  30. border: none;
  31. }
  32. .btn::before {
  33. content: "";
  34. border: none;
  35. }
  36. .btn:active {
  37. opacity: 1;
  38. background: transparent;
  39. }