Skip to content
项目

关于

用于按单词、字符、子元素等拆分元素的 JavaScript 微型库,并为拆分结果填充 CSS 变量!

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
+3

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Splitting.js

CSS Vars for split words, chars & more!

The current build status based on whether tests are passing The Uncompressed size of Splitting The GZIP size of Splitting License: MIT

Splitting.js is a JavaScript microlibrary designed to split (section off) an element in a variety of ways, such as words, characters, child nodes, and more!

Most Splitting methods utilize a series of <span>s populated with CSS variables and data attributes unlocking transitions and animations that were previously not feasible with CSS.

Install with npm i splitting -s or Download.

Consult the guide & documentation for more details and installation instructions.


Maintainers

Maintainer GitHub Twitter
Stephen Shaw @shshaw @shshaw
Christopher Wallis @notoriousb1t @notoriousb1t

探索相关项目

加载中…