web-scrolling-text
Version:
A lightweight, customizable text animation library for creating smooth scrolling text effects with support for React, Next.js, Angular and vanilla JavaScript
8 lines (7 loc) • 732 B
JavaScript
/**
* ScrollingText-fade v6.1.5
* build on Wed, 31 Dec 2025 04:31:18 GMT
* (c) 2025 Hardik Naik
* Released under the MIT License.
*/
var t="scrolling-text-fade-in",e="scrolling-text-fade-out";!function(t,e){void 0===e&&(e={});var o=e.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===o&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}("@keyframes scrolling-text-fade-in{0%{opacity:0}to{opacity:1}}@keyframes scrolling-text-fade-out{0%{opacity:1}to{opacity:0}}");var o={enterAnimation:t,exitAnimation:e};export{o as default};