15 Star 39 Fork 7

InFaNg / Canvas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 924 Bytes
一键复制 编辑 原始数据 按行查看 历史
InFaNg 提交于 2015-07-23 14:44 . 更新了一些样式

Canvas

  • 版本:1.2.2
  • 作者:InFaNg

使用

  1. <head>中引入Canvas文件 <link rel="stylesheet" href="https://infang.github.io/Canvas/dist/1.2.2/canvas.min.css" />
  2. 为想要添加动画效果的元素赋予以下一个类(具体效果可参考Canvas 演示

####过渡动画

  • appear
  • appear-expand
  • appear-reduce
  • appear-top
  • disappear-top
  • appear-right
  • disappear-right
  • appear-bottom
  • disappear-bottom
  • appear-left
  • disappear-left
  • appear-rotate
  • disappear-rotate
  • appear-rotate-x
  • appear-rotate-y
  • disappear-rotate-x
  • disappear-rotate-y
  • flash
  • appear-scale-x
  • appear-scale-y
  • disappear-scale-x
  • disappear-scale-y

####循环动画

  • float

License

Canvas is licensed under the MIT license. (http://opensource.org/licenses/MIT)

CSS
1
https://gitee.com/infang/Canvas.git
git@gitee.com:infang/Canvas.git
infang
Canvas
Canvas
master

搜索帮助