CSS3’s text-shadow property is extremely useful in creating many different text effects, the coolest of which is probably an effect that makes the text look like it’s glowing. When combined with some bright colors applied to the text shadow, the glow effect becomes a nifty neon glow effect. Check out the code below:
- font-size: 60px;
- font-family: 'Futura';
- color: #fff;
- text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff0080, 0 0 30px #ff0080, 0 0 40px #ff0080, 0 0 55px #ff0080, 0 0 75px #ff0080;
- text-align: center;
Play around with the colors and blur-radiuses to customize the effect for your own projects.