You Demanded More Revolutionizing Image Entrace Animations in Elementor New animations

Elementor 3.17 Update Broke My Forms — Here’s the Fix

Everything looks fine for about twelve seconds. Then the contact forms stop submitting. No error message. No console warning. Just… ...

Read More

My WordPress Site Got Hacked (Not My Fault — wp2shell Did It)

Someone just exploited a hole in WordPress core that lets them take over your server without logging in. Here's what ...

Read More

Elementor Update Just Broke My Site — Here’s How I Sorted It

Updated Elementor and your site broke? I walk through the actual fixes that worked when it happened to a client ...

Read More

How To Make A Vertical 3D Gallery Slider

So if you follow along in the video, I refer to this blog post for you to enter code at ...

Read More
Showing Slide 1 of 5

So if you follow along in the video, I refer to this blog post for you to enter code at certain points, so below is everything you will need!

Some Mask Examples I Used In The Tutorial

Website to free videos to make into gifs

Online Gif Creator

The Following are the css class names I used in the tutorial:

				
					custom-viewport-mask-image
				
			

The Following code goes into the Slider Container (reboot-slider):

				
					<script>
(function($) {
    $(document).ready(function() {
        const $maskImages = $('.custom-viewport-mask-image');
        $maskImages.css({
            'opacity': '0',
            'transition': 'opacity 0.3s ease'
        });
        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    const $target = $(entry.target);
                    const $elementorElement = $target.find('.elementor-widget-container');
                    $target.css('opacity', '1');
                                   const backgroundImage = $elementorElement.css('background-image');
                    
                                  if (backgroundImage && backgroundImage !== 'none') {
                        let cleanUrl = backgroundImage.replace(/^url\(["']?/, '').replace(/["']?\)$/, '');
                 cleanUrl = cleanUrl + `?t=${Date.now()}`;
                    $target.css({
                        'mask-image': `url(${cleanUrl})`,
                        'mask-size': 'cover',
                        'mask-repeat': 'no-repeat',
                        'mask-position': 'center',
                    });
                    }
                    observer.unobserve(entry.target);
                }
            });
        }, {
            threshold: 0.2
        });
        $maskImages.each(function() {
            observer.observe(this);
        });
    });
})(jQuery);
</script>