Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

tung

Latest topics


    [Code]Hiệu ứng avatar nghiêng, xoay

    Ruby
    Ruby
    User's Founder


    Bài viết : 460
    Ryo : 4839
    Cảm ơn : 3022
    Nam Date : 09/04/2012
    Tuổi : 25
    Đến từ : Việt Nam

    [Code]Hiệu ứng avatar nghiêng, xoay Empty [Code]Hiệu ứng avatar nghiêng, xoay

    Bài gửi by Ruby Thu Apr 19, 2012 11:20 pm

    ban đầu avatar nó nghiêng,
    rê chuột vô là nó xoay vòng vòng rùi nằm vị trí ngay ngắn
    sau đó trở về trạng thái nghiêng như ban đầu.
    [Code]Hiệu ứng avatar nghiêng, xoay Anh_ch17
    hướng dẫn:
    1. thêm vào CSS:

    Code:
        .avatar97 img{
        opacity: 0.3;filter: alpha(opacity=30);
        border-radius:5px;
        background-color: #FFFFFF;
        margin:1px 3px 3px 1px;
        padding:3px;
        border:1px solid #d4d4d4;
        box-shadow: 3px 3px 3px #8A8A8A;
        transform:rotate(30deg); -moz-transform:rotate(30deg); -webkit-transform:rotate(30deg);
        transition: all 2s ease; -webkit-transition: all 2s ease; -moz-transition: all 2s ease;
        }
        .avatar97 img:hover {
        opacity: 1; filter: alpha(opacity=100);
        transition: all 2s ease; -webkit-transition: all 2s ease; -moz-transition: all 2s ease;
        transform:rotate(0deg); -moz-transform:rotate(0deg); -webkit-transform:rotate(0deg);
        transform: scale(1.5); -webkit-transform: scale(1.5); -moz-transform: scale(1.5);
        position:relative;
        }

    2. Tìm trong viewtopic_body:
    Code:
    {postrow.displayed.POSTER_AVATAR}

    Thay bằng:
    Code:
    span class="avatar97">{postrow.displayed.POSTER_AVATAR}</span>

    CNTT-K3

      Hôm nay: Tue May 21, 2024 3:39 am