A custom element that displays a cut line animated with rainbow colors ..
<rainbow-line
color-slice-width="10"
slice-cycle-time="7"
cycle-direction="left"
></rainbow-line>
<script type="module" src="https://www.unpkg.com/rainbow-line@latest"></script>
see example.html for more usage examples
live preview at → jsfiddle.net/spearwolf/spjbqnxd/
Copyright © 2024 by Wolfger Schramm.
The source code and npm package is licensed under the Apache-2.0 License.
have fun! 🚀🌱