Nathanwoodburn.github.io/Invaders/404.css
Nathanwoodburn e6dfafa1ec update
2020-11-23 17:07:16 +11:00

37 lines
888 B
CSS

.center{text-align:center}
#space-invaders {
margin: 0 auto;
display: block;
background: white
}
t2 {
position: relative;
text-transform: uppercase;
letter-spacing: 6px;
font-size: 22px;
text-align: center;
font-weight: 900;
text-decoration: none;
color: black;
position: absolute;
left: 38.5%;
background-size: 120% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
-moz-text-fill-color: transparent;
-ms-background-clip: text;
-ms-text-fill-color: transparent;
background-clip: text;
background-color: #000000;
animation: 0.2s shake infinite alternate;
}
@keyframes shake {
0% { transform: skewX(-15deg); }
5% { transform: skewX(15deg); }
10% { transform: skewX(-15deg); }
15% { transform: skewX(15deg); }
20% { transform: skewX(0deg); }
100% { transform: skewX(0deg); }
}