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) • 800 B
JavaScript
/**
* ScrollingText-scaleIn v6.1.5
* build on Wed, 31 Dec 2025 04:31:25 GMT
* (c) 2025 Hardik Naik
* Released under the MIT License.
*/
var t="scrolling-text-scaleIn-in",e="scrolling-text-scaleIn-out";!function(t,e){void 0===e&&(e={});var n=e.insertAt;if("undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}("@keyframes scrolling-text-scaleIn-in{0%{scale:1.2}to{scale:1;transform:translateY(0)}}@keyframes scrolling-text-scaleIn-out{0%{scale:1;transform:translateY(0)}to{opacity:0;scale:.5}}");var n={enterAnimation:t,exitAnimation:e};export{n as default};