Viewport Counter Animation
User jQuery(document).ready(function($) { $('.elementor-counter-number').css('opacity', 0); // Hide numbers initially $('.elementor-counter').each(function(index) { var counter = $(this); var countTo = parseFloat(counter.find('.elementor-counter-number').data('to-value')); // Get the target value as a float var hasDecimals = countTo % 1 !== 0; // Check if the number has decimals counter.find('.elementor-counter-number').text(0); // Set the initial count to zero // Start counting with a […]