.book {
    cursor: pointer;
    width: 100px;
    height: 100px;
    position: relative;
    background: #fff;
    z-index: 1;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1), 0 9px 20px 0 rgba(0, 0, 0, .25);
    -webkit-transition: box-shadow .3s linear;
    transition: box-shadow .3s linear
}

.book img {
    width: inherit;
    height: inherit;
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition: all .45s ease;
    transition: all .45s ease;
    max-width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden
}

.book:hover img {
    -webkit-transform: rotateY(-25deg);
    transform: rotateY(-25deg);
    box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, .2)
}

