Skip to content

JavaScript microlibrary to split an element by words, characters, children and more, populated with CSS variables!

License

Notifications You must be signed in to change notification settings

shshaw/Splitting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d5a8fd0 · May 31, 2024
Jul 12, 2018
Aug 9, 2018
May 31, 2024
May 23, 2024
May 23, 2024
Jul 12, 2018
Feb 16, 2018
Feb 16, 2018
Aug 6, 2018
Aug 8, 2018
Mar 7, 2019
May 31, 2024
May 31, 2024

Repository files navigation

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