index.wxss 445 B

1234567891011121314151617181920212223242526
  1. .wux-checkbox {
  2. position: relative;
  3. display: inline-block;
  4. }
  5. .wux-checkbox__input {
  6. position: absolute;
  7. top: 0;
  8. left: 0;
  9. opacity: 0;
  10. width: 100%;
  11. height: 100%;
  12. z-index: 2;
  13. border: 0 none;
  14. -webkit-appearance: none;
  15. appearance: none;
  16. }
  17. .wux-checkbox__icon {
  18. display: inline-block;
  19. font-size: 0;
  20. vertical-align: middle;
  21. position: relative;
  22. top: 0;
  23. left: 0;
  24. margin-left: 10rpx;
  25. margin-right: 10rpx;
  26. }