Skip to main content

How to Create Text Smoke Effect in Elementor 2022 | WordPress Tutorial 2022

 

Video Tutorial



Text Smoke Animation Code snippet

    1. <style> .smoke .elementor-widget-container span{ cursor: default; position: relative; display: inline-block; } .smoke .elementor-widget-container span.active{ animation: smoke 1s linear; } @keyframes smoke{ 50%{ opacity: 1; } 100%{ opacity: 0; filter: blur(20px); transform: translateX(300px) translateY(-300px) rotate(360deg) scale(4); } } .smoke .elementor-widget-container span.back{ opacity: 0; filter: blur(20px); animation: back 1s linear 0.5s; } @keyframes back{ 100%{ opacity: 1; filter: blur(0); } } </style> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> (function($){ $(document).ready(function(){ var heading = $('.smoke .elementor-widget-container').children() heading.each(function(){ $(this).html($(this).text().replace(/\S/g, '<span>$&</span>')) }) var headingLetter = heading.find('span') headingLetter.on('mouseover', function(){ $(this).removeClass('back').addClass('active') }) headingLetter.on('animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd', function(e){ if ( $(e.target).hasClass('active') ){ $(this).removeClass('active').addClass('back') }else{ $(this).removeClass('back') } }) }) }(jQuery)) </script>

Comments

Popular posts from this blog

How to Add Background Music in Elementor 2022 | WordPress Tutorial 2022

  Video Tutorial Do you want to add background music in Elementor? This Elementor tutorial will show you how to add background music in Elementor. Learn how to add background music in Elementor | WordPress Website 2022 JAVA SCRIPT Code Snippet <iframe style="display: none;" src=""></iframe> <audio id="myaudio" autoplay="autoplay" loop="loop" controls="controls"> <source src="**paste url here**" type="audio/mp3" /> </audio> <script>   var audio = document.getElementById("myaudio");   audio.volume = 0.2; </script>

How to Add Show / Hide any Section on Click in Elementor 2022 | WordPress Tutorial 2022

  Video Tutorial JavaScript Code Snippet document.addEventListener('DOMContentLoaded', function() { jQuery(function($){ $('.showsection').each(function(i){ $(this).click(function(){ $('.hidesection').eq(i).show(); $('.showsection'); }); }); }); }); </script> <style> .showsection{ cursor: pointer; } .hidesection{ display: none; } </style> }

How to Create 3D Rotating Image Gallery in Elementor 2022 | WordPress Tutorial 2022

  Video Tutorial Javascript Snippet for 3D Image Gallery <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> var $ = jQuery $(document).ready(function(){ var className = '3dGallery' $('.' + className).each(function(){ var span = $(this).find('.elementor-widget-image'), len = span.length span.each(function(i){ $(this).css('transform', 'rotateY(' + i*360/len + 'deg) translateZ(calc(' + ((len + 1) * 31 + len*1) + 'px))') }) $(this).parent().addClass('3dGalleryParent') }) }) </script> CSS Snippet for 3D Image Gallery selector .elementor-widget-wrap{ width: 200px; height:300px; transform-style: preserve-3d; } selector .elementor-widget-image{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: center; transform-style: preserve-3d; -webkit-box-reflect: bel...