A web component to make your text sparkle
Written by Stefan Judis
- Published at
- Updated at
- Reading time
- 1min
Inspired by Zach Leatherman and the community's recent rediscovery of HTML web components, I sat down to write a quick component to make text sparkle. There can't be enough sparkles (and confetti), right?
Here are some examples of what <sparkly-text />
can do. 👇
Here's a sparkly-text
in a headline
sparkly-text
And here's a paragraph with
And here are
If you want to play around with it find the source code on GitHub.
If you enjoyed this article...
Join 5.5k readers and learn something new every week with Web Weekly.
Reply to this post and share your thoughts via good old email.