Skip to content
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

建议:增加class钩子功能 #3

Open
kiinlam opened this issue Apr 16, 2018 · 0 comments
Open

建议:增加class钩子功能 #3

kiinlam opened this issue Apr 16, 2018 · 0 comments

Comments

@kiinlam
Copy link

kiinlam commented Apr 16, 2018

chrome商店上有个Animation Generator扩展,里面有个"Selector format"功能:

在这里可以定义你的选择器格式, eg. 当Selector format设为"{{your className}}"时,生成代码的选择器为".anim-yourclass"。当Selector format设为".active {{your className}}"时,生成代码的选择器为".active .anim-yourclass"

这样可以方便自定义导出动画使用的class名,推荐增加类似功能。

参考扩展地址:
https://chrome.google.com/webstore/detail/animation-generator/kionilekanaambbbnjghihllokicnnlj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant