Skip to content

Instantly share code, notes, and snippets.

@CodeMyUI
Last active May 9, 2020 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodeMyUI/e4bdccb804fb27eb4a8843fa5ab6a1f4 to your computer and use it in GitHub Desktop.
Save CodeMyUI/e4bdccb804fb27eb4a8843fa5ab6a1f4 to your computer and use it in GitHub Desktop.
Blazing Fire
<div class="dark fire">
<h1 class="Blazing" contenteditable="true">BLAZING</h1>
</div>
@import url(https://fonts.googleapis.com/css?family=Akronim);
body {
background: #ca8;
}
.fire {
margin: 50px auto;
width: 80%;
max-width: 1000px;
height: 200px;
background-position: center center;
background-size: 1000px 200px;
border-radius: 10px;
font-family: 'Akronim';
overflow: hidden;
text-align: center;
vertical-align: middle;
}
.fire:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
.Blazing {
display: inline-block;
margin: 0;
color: rgb(255, 115, 0);
font-size: 100px;
line-height: 50px;
min-width: 50px;
outline: none;
vertical-align: middle;
text-shadow:
0 3px 20px red,
0 0 20px red,
0 0 10px orange,
4px -5px 6px yellow,
-4px -10px 10px yellow,
0 -10px 30px yellow;
animation: 2s Blazing infinite alternate linear;
}
@keyframes Blazing {
0% { text-shadow: 0 3px 20px red, 0 0 20px red,
0 0 10px orange,
0 0 0 yellow,
0 0 5px yellow,
-2px -5px 5px yellow,
4px -10px 10px yellow; }
25% { text-shadow: 0 3px 20px red, 0 0 30px red,
0 0 20px orange,
0 0 5px yellow,
-2px -5px 5px yellow,
3px -10px 10px yellow,
-4px -15px 20px yellow; }
50% { text-shadow: 0 3px 20px red, 0 0 20px red,
0 -5px 10px orange,
-2px -5px 5px yellow,
3px -10px 10px yellow,
-4px -15px 20px yellow,
2px -20px 30px rgba(255,255,0,0.5); }
75% { text-shadow: 0 3px 20px red, 0 0 20px red,
0 -5px 10px orange,
3px -5px 5px yellow,
-4px -10px 10px yellow,
2px -20px 30px rgba(255,255,0,0.5),
0px -25px 40px rgba(255,255,0,0)}
100% { text-shadow: 0 3px 20px red, 0 0 20px red,
0 0 10px orange,
0 0 0 yellow,
0 0 5px yellow,
-2px -5px 5px yellow,
4px -10px 10px yellow; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment