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