3D自动旋转图(HTML5)
来源:互联网 发布:gopro软件中文版 编辑:程序博客网 时间:2024/05/14 16:29
代码如下:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } li{ list-style: none; } ul{ width:200px; height:200px; margin: 200px auto; position: relative; animation: run 3s linear infinite; animation-fill-mode: forwards; transform-style: preserve-3d; } ul li{ width:200px; height:200px; opacity: 0.5; position: absolute; left: 0; top:0; } ul li:first-child{ transform: translateY(100px) rotateX(90deg); background: red; } ul li:nth-child(2){ transform: translateX(100px) rotateY(90deg); background: blue; } ul li:nth-child(3){ transform: translateY(-100px) rotateX(90deg); background: green; } ul li:nth-child(4){ transform: translateX(-100px) rotateY(90deg); background: yellow; } ul li:nth-child(5){ transform: translateZ(-100px) ; background: orange; } ul li:nth-child(6){ transform: translateZ(100px) ; background: pink; } @keyframes run { 0%{ transform: rotateX(0deg) rotateY(0deg); } 100%{ transform: rotateX(360deg) rotateY(360deg); } } </style></head><body><ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li></ul></body></html>
阅读全文
0 0
- 3D自动旋转图(HTML5)
- 3D旋转立方体演示(html5)
- Html5旋转立方体3D动态实例
- HTML5 3D旋转图片相册
- 实体3D的自动旋转动画
- HTML5 CSS3 诱人的实例: 3D立方体旋转动画
- 基于HTML5 WebGL实现3D飞机叶轮旋转
- 基于HTML5 WebGL实现3D飞机叶轮旋转
- HTML5 CSS3 诱人的实例: 3D立方体旋转动画
- 可以无限循环,自动旋转,停靠的3D旋转布局控件
- 基于HTML5的3D网络拓扑自动布局
- UIView 的Transform。(旋转,缩放,3D旋转)
- 实现3D旋转(源码)
- Android动画(ViewHelp/3D旋转)
- 3d转换(立方体旋转效果)
- 3D旋转菜单
- 关于3d旋转
- 3D 旋转立方体
- 用户 角色 权限 菜单
- LeetCode:Palindrome Number
- iOS 快捷键~新文件、编辑、调试
- commons-logging的使用
- 【codevs 1081】线段树练习 2
- 3D自动旋转图(HTML5)
- @RequestMapping请求方式发生冲突时候的情况
- 微积分小糊涂,国庆节大快乐!
- Struts2中ActionContext、 ServletActionContext详解
- canvas 绘制八卦图
- 个人Blog开发学习笔记
- AtCoder Grand Contest 001 C
- Linux root 用户下 selenium 运行chrome --no-sandbox的问题的解决
- opcode 查询,opcode 汇总