Thứ Năm, 30 tháng 7, 2015

Cách tạo hiệu ứng trang web quay 360 độ cho blog

Chúng ta bắt đầu luôn nhé:
Bạn vào Tên Blog > Bố cục > Thêm tiện ích > HTML/Javascript.
Copy và Paste code bên dưới vào phần "Nội dung"

                    Demo hoạt động của code    

<style> @-moz-keyframes roll { 100% { -moz-transform: rotate(360deg); } } @-o-keyframes roll { 100% { -o-transform: rotate(360deg); } } @-webkit-keyframes roll { 100% { -webkit-transform: rotate(360deg); } } body{ -moz-animation-name: roll; -moz-animation-duration: 4s; -moz-animation-iteration-count: 1; -o-animation-name: roll; -o-animation-duration: 4s; -o-animation-iteration-count: 1; -webkit-animation-name: roll; -webkit-animation-duration: 4s; -webkit-animation-iteration-count: 1; } </style>

Vậy là xong rồi. Hãy vào F5 blog và xem thành quả thôi
                                 Tham khảo Teroket.com

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

Đăng nhận xét