1234567891011121314151617181920212223242526272829 |
- .HotIcon {
- display: inline-block;
- height: 30px;
- width: auto;
- :global {
- img {
- cursor: pointer;
- position: relative;
- top: 0;
- left: 0;
- transition: all 0.3s;
- }
- .HotIconHover {
- opacity: 0;
- pointer-events: none;
- }
- .HotIconBase {
- position: absolute;
- top: 0;
- left: 0;
- &:hover {
- opacity: 0;
- }
- &:hover + .HotIconHover {
- opacity: 1;
- }
- }
- }
- }
|