Thứ Ba, 5 tháng 7, 2016

css ghê chuột vào ảnh


.video-pic > a > img {
    width: 100%;
    cursor: pointer;
    transition: opacity 1s ease 0s, transform 1s ease 0s;
    backface-visibility:hidden;
}
.video-pic > a:hover img{
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
}
/*********************************************/
.supp-cat-pic{
    overflow: hidden;
}
.supp-cat-pic a img {
    animation: 1.2s ease 0s normal none 1 running smooth-image;
    cursor: pointer;
    height: auto;
    max-width: 100%;
    transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
}
.supp-cat-pic a:hover img{
    transform: scale(1.3);
}

Không có nhận xét nào:

Đăng nhận xét