
Code tạo hiệu ứng xoay 360 cho trang wap bạn
07.09.2014/08:38
Code này có hiệu ứng xoay 360 khi mình truy cập vào... Nói chung là test là biết. Dán ở đâu mặc kệ bạn ở header hoặc trang bạn mún xoay
Demo:
đây
Dùng pc hoặc dt sờ mát phôn test nha
<?php
<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: 2s;
- moz-animation-iteration-count: 1;
- o-animation-name: roll; -o-animation-duration: 2s;
- o-animation-iteration-count: 2;
- webkit-animation-name: roll;
- webkit-animation-duration: 2s;
- webkit-animation-iteration-count: 1;
}
</ style>
?>
Chúc các bạn thành công!
Nguồn: Hankebaktinh052 - giacmovn.com