(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Tutorial Video:
Don’t want to make from scratch? Get the template instead 🙂
Introduction – Spotlight Reveal Effect that Follow Cursor in Elementor
In this tutorial, we have two reveal effects. First one uses a simple sphere reveal. In second one, we can use any svg mask.
Support by
using these links
(Affiliate)
COUPON CODE - DMmotionarts (10% off)
Support by
using these links
(Affiliate)
COUPON CODE - DMmotionarts (10% off)
Spotlight Hover
by DMmotionarts
For Below: Make sure to replace svg url with your svg website url.
If not changed, the mask is dependent on my website.
If my website is down or moved then it will stop working for you too.
So just change url to your uploaded svg.
Support by
using these links
(Affiliate)
COUPON CODE - DMmotionarts (10% off)
Spotlight Hover
by DMmotionarts
1 – Simple Spotlight Reveal Code
- dm-spotlight-wrapper is the CSS class of the main container.
- dm-spotlight-revealer is the CSS class of the front container. It is given position absolute and full height.
- Change mask-image gradient values to control edge smoothness.
- For all controls and customization, please watch the first video above.
2 – SVG Mask Spotlight Reveal Code
- dm-spotlight-wrapper2 is the CSS class of the main container.
- dm-spotlight-revealer2 is the CSS class of the front container. It is given position absolute and full height.
- dm-mask-size-reader2 is the CSS class of an empty container inside our wrapper. This is only used to calculate size. It is hidden by default.
- Make sure to change the svg url at mask-image and webkit-mask-image in code to your own url.
- For all controls and customization, please watch the second video above.
