.vote{
    width: 35px;
    height: 35px;
    background-position: center;
    background-size: cover;
    -webkit-transition: background-image 0.5s ease-in-out;
    transition: background-image 0.5s ease-in-out;
}
.vote.inactive{
    background-image: url('../images/vote.png');
}
.vote.active{
    background-image: url('../images/voted.png');
}
.vote.voting{
    background-image: url('../images/voting.gif');
    /*background-size: 30px;
    background-repeat: no-repeat;*/
}