通用评论

123456789101112131415161718192021222324252627282930313233343536373839
  1. .item {
  2. float: left;
  3. width: 40px;
  4. height: 40px;
  5. cursor: pointer;
  6. white-space: nowrap;
  7. /* this is required unless you put the helper span closely near the img */
  8. text-align: center;
  9. margin: 0;
  10. }
  11. .item .helper {
  12. display: inline-block;
  13. height: 100%;
  14. vertical-align: middle;
  15. }
  16. .item img {
  17. margin: 0 auto;
  18. vertical-align: middle;
  19. padding: 3px;
  20. }
  21. .item img:hover {
  22. border: 1px solid #40a9ff;
  23. }
  24. .ant-carousel .slick-dots {
  25. height: 5px;
  26. }
  27. .ant-carousel .slick-dots li button {
  28. height: 5px;
  29. width: 25px;
  30. }
  31. .ant-carousel .slick-dots li.slick-active button {
  32. width: 32px;
  33. }