Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p000bb/gxjh
高兴就好
https://github.com/p000bb/gxjh
Last synced: 2 days ago
JSON representation
高兴就好
- Host: GitHub
- URL: https://github.com/p000bb/gxjh
- Owner: p000bb
- Created: 2023-10-30T04:24:08.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-06T10:21:29.000Z (about 1 year ago)
- Last Synced: 2024-11-09T18:46:42.922Z (about 2 months ago)
- Language: HTML
- Homepage: https://p000bb.github.io/gxjh/index.html
- Size: 97.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
- gsap
``` js
GSAP可以改变全局的默认设置,使用gsap.default()进行设置
// 使用线性缓动曲线 和 1秒的动画时长
gsap.defaults({ ease: "none", duration: 1 });// 需要用formTo 不然重新加载时会出问题 或许能用懒加载解决
gasp.fromTo
```- animate.css
``` js
animation: bounce; // 动画名称
animate-duration:1s; // 动画时长
animate-delay:1s; // 动画延迟
animate-repeat:infinite // 动画重复次数
`````` css
.animated {
/* 动画名称 动画时长 动画重复次数 */
animation: pulse 3s infinite;
}
```- image-hover
``` js
data-aos="fade-up" // 动画名称
data-aos-duration="1000" // 动画时长
data-aos-delay="1000" // 动画延迟
data-aos-once="true" // 动画只执行一次
```