index.acss 547 B

123456789101112131415161718192021222324252627282930313233343536
  1. .grid {
  2. display: flex;
  3. flex-direction: row;
  4. flex-wrap: wrap;
  5. }
  6. .grid-item {
  7. text-align: center;
  8. position: relative;
  9. background-color: white;
  10. position: relative;
  11. }
  12. .grid-item-wrapper {
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. width: 100%;
  17. height: 100%;
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. flex-direction: column;
  22. }
  23. .grid-icon {
  24. width: 30%;
  25. height: 30%;
  26. }
  27. .grid-text {
  28. color: #000;
  29. font-size: 28rpx;
  30. line-height: 1;
  31. margin-top: 28rpx;
  32. }