Don’t want to make from scratch? Get the template instead 🙂
Introduction – Spotlight Hover Glowing Cards with Elementor, CSS and JS Code
In this tutorial, we will create two different versions of glowing cards. First version only shows the effect when you hover on the cards. The second version shows glow effect based on the proximity of your mouse cursor.
Layout for containers or DIV:

SpotLight Glow
This first version only shows the glow when you hover over the card. Easy to make and customize. Simply change the color or add a pattern in glow by changing the background overlay.
elementor template
Works without Elementor Pro, all code is added via HTML widget. A free template is available. All I ask to subscribe or use the affiliate links above to support me. You can also check my paid templates.
youtube tutorial
Make from scratch with my youtube tutorial. You can also watch the tutorial to learn about customization available and how it works.
Version 1 – Spotlight Glow Cards On Hover Only
- dm-glow-card is the CSS class of the card container. This should have low padding like 2px, 3px, as this container acts as the edge of the cards. It has been given border radius of 10px in code, you can remove or change it.
- Add Extra Container/DIV inside dm-glow-card. This container needs to have a background color so that it blocks the dm-glow-card and only shows the padding area. Give it GROW in advanced panel so that it takes full size. This container should contain all your text or content.
- dm-glowy-circle is the CSS class of the container that is inside the extra container. This container shows the inside glow of the container. You need to make this have radial gradient with low opacity.
- height and width in dm-glowy-circle controls the size of inner glow.
- background:radial-gradient has been given 250px as radius, this controls the color of the edge of the cards.
- card1, card2, card3 is extra CSS class that you give to your dm-glowy-circle container. This is needed if you want to have different colors for each cards. To add more cards like card4, card5 etc., you can simply copy the card code in the CSS below (It is commented in the code) and change the number.
- You can also remove or change the move up effect that happens on hover by removing/changing the code at Line 83 below.
SpotLight Glow
This second version only shows the glow based on proximity of the cards. Easy to make and customize. Simply change the color or add a pattern in glow by changing the background overlay.
elementor template
Works without Elementor Pro, all code is added via HTML widget. A free template is available. All I ask to subscribe or use the affiliate links above to support me. You can also check my paid templates.
youtube tutorial
Make from scratch with my youtube tutorial. You can also watch the tutorial to learn about customization available and how it works.
Version 2a – Proximity Spotlight Glow Cards ( Type 1: Required Hover on Main Wrapper Container)
- dm-glowy-wrapper-2 is the CSS class of the container that contains the cards. The proximity only works inside this container for this version, for different version check Type 2 below.
- dm-glow-card-2 is the CSS class of the card container. This should have low padding like 2px, 3px, as this container acts as the edge of the cards. It has been given border radius of 10px in code, you can remove or change it.
- Add Extra Container/DIV inside dm-glow-card. This container needs to have a background color so that it blocks the dm-glow-card-2 and only shows the padding area. Give it GROW in advanced panel so that it takes full size. This container should contain all your text or content.
- dm-glowy-circle-2 is the CSS class of the container that is inside the extra container. This container shows the inside glow of the container. You need to make this have radial gradient with low opacity.
- height and width in dm-glowy-circle-2 controls the size of inner glow.
- background:radial-gradient has been given 250px as radius, this controls the color of the edge of the cards.
- card1, card2, card3 is an extra CSS class that you give to your dm-glowy-circle-2 container. This is needed if you want to have different colors for each cards. To add more cards like card4, card5 etc., you can simply copy the card code in the CSS below (It is commented in the code) and change the number.
- You can also remove or change the move up effect that happens on hover by removing/changing the code at Line 74 below.
SpotLight Glow 3
This third version only shows the glow based on proximity of the cards. The glow follow is happening even when your outside the main wrapper container. Good for projects where the proximity is required without hover on main container.
elementor template
Works without Elementor Pro, all code is added via HTML widget. A free template is available. All I ask to subscribe or use the affiliate links above to support me. You can also check my paid templates.
youtube tutorial
Make from scratch with my youtube tutorial. You can also watch the tutorial to learn about customization available and how it works.
Version 2b – Proximity Spotlight Glow Cards ( Type 2: Does not require hover on Main Wrapper Container)
- All customization is same as the above type 1 version. You can skip adding wrapper CSS class, adding it would do no changes either way.
- Simply all CSS classes are same as Type 1 above but with -3 suffix.