<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Monoton' rel='stylesheet' type='text/css'>
</head>
<body>
<div class = "headers">
<h1>Slow Glow</h1>
<h2>Fast Flash</h2>
<h3>Fine Shine</h3>
</div>
</body>
</html>
html {
background-color: #222;
}
.headers {
margin-top: 10%;
}
h1, h2, h3 {
font-family: 'Monoton', cursive;
font-size: 40px;
}
h1 {
color: #fff;
animation: h1 8s infinite;
animation: h1 8s infinite;
}
h2 {
color: white;
animation: h2 0.35s infinite;
animation: h2 0.35s infinite;
}
h3 {
background: linear-gradient(#fff, #eee, #fff, #666, #eee, #fff);
background-clip: text;
text-fill-color: transparent;
text-shadow: 0px 1px 45px rgba(255, 255, 255, 0.2);
}
div {
text-align: center;
position: relative;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes h1 {
0% {text-shadow: 0 0 3px #FF0000; color: #fff;}
25% {text-shadow: 0 0 12px #FF0000;}
50% {text-shadow: 0 0 20px #FF0000; color: pink;}
75% {text-shadow: 0 0 12px #FF0000;}
100% {text-shadow: 0 0 3px #FF0000; color: #fff;}
}
@-webkit-keyframes h2 {
0% {text-shadow: 0 0 6px #FFF;}
100% {text-shadow: 0 0 0px #000;}
}
/* Internet Explorer */
@keyframes h1 {
0% {text-shadow: 0 0 3px #FF0000; color: #fff;}
25% {text-shadow: 0 0 12px #FF0000;}
50% {text-shadow: 0 0 20px #FF0000; color: pink;}
75% {text-shadow: 0 0 12px #FF0000;}
100% {text-shadow: 0 0 3px #FF0000; color: #fff;}
}
@keyframes h2 {
0% {text-shadow: 0 0 6px #FFF;}
100% {text-shadow: 0 0 0px #000;}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.