v5.0.0 #16
yesiamrocks
announced in
Announcements
v5.0.0
#16
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Major Text Animation Overhaul
New Features
.ca__le*
classes. Now, any CSS animation class can be used with text animations, providing greater flexibility.ca__lt-delay
andca__lt-base-duration
Fine-tune animation timing:ca__lt-delay
: Specify delays (in milliseconds) for each unit (letter, word, or line).ca__lt-base-duration
: Set a base duration for animations, overriding default durations.Example Usage
Migration Instructions
Version 5.0.0 introduces a significant overhaul of how text-based animations (Letter-by-Letter, Word-by-Word, Line-by-Line) are configured. This version moves away from a reliance on the
.ca__le*
CSS class to a more flexible and powerful attribute-based approach..ca__le*
classes. Now, simply add theca__lt-*
attribute to your HTML elements:Previous
Now
Attribute-Based Control
New animation control attributes: Customize animations directly in HTML using attributes:
ca__lt-sequence
: Animate letters in orderca__lt-random
: Animate letters randomlyca__lt-reverse
: Animate letters in reverseca__lt-word
: Word-by-word animationca__lt-line
: Line-by-line animationca__lt-delay
: Delay between items inms
ca__lt-base-duration
: Override default durationca__lt-separator
: Define custom separators for line animations (e.g.,"dot"
for periods).Additional Enhancements
For detailed examples and further information, please refer to the official documentation.
Let me know if you need assistance with integrating these new features into your project!
This discussion was created from the release v5.0.0.
Beta Was this translation helpful? Give feedback.
All reactions