.trans {
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}