0.0.3 • Published 5 years ago
@nmacarthur/lineboy v0.0.3
Lineboy
Lineboy is used for animations on text objects.
Installation
npm install @nmacarthur/lineboy
or grab it from here https://github.com/nmacarthur/lineboy/releases/latest/ and include it
Usage
Add this line of css
[data-lineboy] { opacity: 0; }
Use headings h1 - h6
<h1 data-lineboy>This is the text</h1>
or paragraphs
<p data-lineboy>This is the paragraph</p>