<link href='https://fonts.googleapis.com/css?family=Vibur:400' rel='stylesheet' type='text/css'>
<div class="container">
<h1 class="neonText">
neon <br> lights
</h1>
</div>
.neonText {
color: #fff;
text-shadow:
0 0 7px #fff,
0 0 10px #fff,
0 0 21px #fff,
0 0 42px #f09,
0 0 82px #f09,
0 0 92px #f09,
0 0 102px #f09,
0 0 151px #f09;
}
/* Additional styling */
body {
font-size: 18px;
font-family: "Vibur", sans-serif;
background-color: #010a01;
}
h1, h2 {
text-align: center;
font-weight: 400;
line-height: 1;
}
h1 {
font-size: 6.2rem;
animation: pulsate 0.11s ease-in-out infinite alternate;
}
h2 {
font-size: 1.8rem;
}
.container {
margin-top: 20vh;
}
@keyframes pulsate {
100% {
text-shadow:
0 0 4px #fff,
0 0 11px #fff,
0 0 19px #fff,
0 0 40px #f09,
0 0 80px #f09,
0 0 90px #f09,
0 0 100px #f09,
0 0 150px #f09;
}
0% {
text-shadow:
0 0 4px #fff,
0 0 10px #fff,
0 0 18px #fff,
0 0 38px #f09,
0 0 73px #f09,
0 0 80px #f09,
0 0 94px #f09,
0 0 140px #f09;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.