🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/vace/css3-animation-generator

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/vace/css3-animation-generator

v0.1.0
Source
Go
Version published
Created
Source

Chrome Plugin Css3 Animation

快速给页面加上炫酷css3动画的chrome插件。

使用

1.从chrome webstore下载

chrome应用商店安装地址

2.直接下载crx文件

如果无法访问到chrome的应用商城,可以选择下载app.crx文件,在chrome中打开chrome://extensions/页面,将app.crx插件拖动到扩展程序面板即可完成安装。 下载地址

3.自行构建

  • npm install -g vue-cli
  • git clone https://github.com/vace/css3-animation-generator
  • cd css3-animation-generator && npm install
  • npm run app

样式导出规则:

  • 优先使用带有 c3前缀的class,如 <span class="c3-test">animate it</span>
  • 如果存在class,则使用class选择器,如 <span class="fl animate">animate it</span>
  • 如果定义了Id,则使用id选择器,如 <span id="anim1">animate it</span>
  • 如果都不存在,则使用内部自定义的选择器查找方案

例子

使用演示

tips

部分脚本中使用了 javascript 的Set,请尽量升级 chrome 到比较新的版本。测试使用的chrome48+都可以正常使用!导出的动画可能需要加前缀才可以兼容所有浏览器,推荐使用autoprefix,后期考虑加入这个功能。

Remark

FAQs

Package last updated on 30 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts