@10up/animate 中文文档教程
10up Animate
10up Animate 是一个小型实用动画库。 它由一个 一系列 CSS 类,可以组合或单独使用以带来小的 UI 中的运动元素。
Installation
npm install @10up/animate --save
Usage
CSS Imports
@ import url("@10up/animate");
NPM 包中的标准导入将引入所有动画。 如果 你想选择要引入的动画,你可以手动选择 直接引用 CSS 文件。
CSS
这些样式可以通过使用 PostCSS 导入或通过在您的项目中包含独立的 CSS 文件来导入到您现有的代码库中。
Demo
实施示例:https
Support Level
://baseline.10up.com/component/animate/ Active: 10up 正在为此积极努力,我们希望在可预见的未来继续努力,包括保持测试到最新版本的 WordPress。 欢迎错误报告、功能请求、问题和请求请求。
Like what you see?
10up Animate
10up Animate is a small utility animation library. It consists of a series of CSS classes that can be combined or used in isolation to bring small elements of motion into a UI.
View official documentation for this package
Installation
npm install @10up/animate --save
Usage
CSS Imports
@import url("@10up/animate");
The standard import from the NPM package will bring in all the animations. If you want to choose the animations to bring in you can do so manually by referencing the CSS files directly.
CSS
The styles can be imported into your existing codebase by using PostCSS imports, or by including the standalone CSS file in your project.
Demo
Example implementations at: https://baseline.10up.com/component/animate/
Support Level
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.