.float-content{
    position: fixed;
    width: 12rem;
    height: 10rem;
    top: 40%;
    right: 0.5rem;
    z-index: 2;
}
.float-content a{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: url("/index-float/img/float-bg.png")no-repeat center center / 100%;
    transition: background 0.3s;
}
.float-content a::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/index-float/img/float-bg-active.png")no-repeat center center / 100%;
    opacity: 0;
    transition: opacity 0.3s;
}
.float-content a:hover::after{
    opacity: 1;
}