wxbutton.wxss 541 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. }
  26. .btn::after {
  27. content: "";
  28. border: none;
  29. }
  30. .btn::before {
  31. content: "";
  32. border: none;
  33. }
  34. .btn:active {
  35. opacity: 1;
  36. background: transparent;
  37. }