-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postcss-animation插件发布 #8
Comments
我觉得不应该单独把 animate.css 内容放到 JS 文件中,应该直接读取这个 CSS。 |
@yisibl 直接读css也可以,第一次写插件,api还不熟悉 |
直接读取,方便修改及维护。 还是很赞的,你去官方仓库提交一个 PR,加入到插件列表中。 |
@yisibl 已经提交了,参考了很多插件,照猫画虎弄了一个,还是要多练练手。 |
请问atom的cssnext的插件为什么删除了啊。 谢谢。 |
@shikelong 编译出了问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
简介
postcss-animation用来帮我们添加动画的关键帧,数据来自animate.css,会按需要生成相应的关键帧,不用导入一大坨样式。
用法
配置
postcss
新建一个
postcss.js
文件,代码如下在命令行输入
node postcss.js
执行grunt
在根目录新建
gruntfile.js
,代码如下在命令行输入
grunt postcss
gulp
在根目录新建gulpfile.js,代码如下
在命令行输入
gulp
实例
测试用例
test里面是所有的测试用例
The text was updated successfully, but these errors were encountered: