.float{
    position: fixed;
    top: 200px;
    right: 0;
    width: 45px;
    z-index: 10;
}
.float ul li{
    display: flex;
    background-color: #ee121b;
    margin-bottom: 3px;
    width: 270px;
    line-height: 45px;
    height: 45px;
    justify-content: flex-start;
    transition: .5s;
    color: rgb(255,255,255);
}
.float ul li:first-child{
    display: flex;
    align-items: center;
    width: 45px;
    height: 130px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
}
.float ul li:last-child{
  margin-bottom: 0;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;  
  overflow: hidden;
}
.float ul li a{
    width: 220px;
    color:rgb(255,255,255);
}
.float ul li:first-child a{
  width: 45px;
  display: flex;
  flex-direction: column;
  margin: 5px 0;
}   
.float ul li:first-child a i{
    display: inline-block;
    width: 45px;
    height: 30px;
    line-height: 30px;
}
.float ul li:first-child a span{
  writing-mode: vertical-lr;
  letter-spacing: 2px;
  margin-top: 5px;
}
.float ul li:nth-child(4){
    height:130px;
}
.float ul li:nth-child(4) i{
    width: 45px;
    font-size: 20px;
    writing-mode: vertical-lr;
}
.float ul li:nth-child(4) img{
    width:130px;
    height:130px;
    overflow: hidden;
}
.float ul li:last-child{
    width: 45px;
}
.float ul li i{
    font-style: normal;
    width: 45px;
    font-size:25px;
    color: #fff;
    text-align: center;
}
.float ul li:nth-child(2):hover{
    margin-left: -130px;
    border-radius: 6px ;
    overflow: hidden;
}
.float ul li:nth-child(3):hover{
    margin-left: -210px;
    border-radius: 6px ;
    overflow: hidden;
}
.float ul li:nth-child(4):hover{
    margin-left: -130px;
    border-radius: 6px ;
    overflow: hidden;
}
.float ul li:last-child:hover,.float ul li:first-child:hover{
    margin-left: 0;
}