Create Glowing Neon Text Using CSS3

Datetime:2016-08-23 03:06:18          Topic: CSS3           Share

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:

  1. h1 {
  2. font-size : 60px ;

  3. font-family : 'Futura' ;

  4. color : #fff ;
  5. 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 ;

  6. text-align : center ;

  7. }

Play around with the colors and blur-radiuses to customize the effect for your own projects.





About List