index.module.scss 463 B

1234567891011121314151617181920212223242526272829
  1. .HotIcon {
  2. display: inline-block;
  3. height: 30px;
  4. width: auto;
  5. :global {
  6. img {
  7. cursor: pointer;
  8. position: relative;
  9. top: 0;
  10. left: 0;
  11. transition: all 0.3s;
  12. }
  13. .HotIconHover {
  14. opacity: 0;
  15. pointer-events: none;
  16. }
  17. .HotIconBase {
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. &:hover {
  22. opacity: 0;
  23. }
  24. &:hover + .HotIconHover {
  25. opacity: 1;
  26. }
  27. }
  28. }
  29. }