Setting up the HTML Page
Then create a CSS file and add it to the HTML page.
<link rel="stylesheet" href="./index.css">
Building the CSS
In the CSS file, create a variable for the glow and enhanced glow color.
Now that we have our variables, let’s center the text so we can see it better.
Decorating the Text
If we look at the results, there is a small blurry shadow around the text and it makes it seem like there is a very dimmed glow emitting from the text.
Now we just need to intensify the glow.
This time, the blurriness of the second text shadow should be larger than the first one because we want to slowly expand the shadow to create the effect of a stronger glow.
If we look at the result again, the glow is brighter.
As you can see, as we stack more text-shadows on top of each other, the glow becomes more prominent.
Now when we hover over on the text, it the glow will intensify.
Complete CSS