2020-11-23 16:24:01 +11:00
|
|
|
.center{text-align:center}
|
|
|
|
#space-invaders {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
background: white
|
2020-11-23 16:59:05 +11:00
|
|
|
}
|
2020-11-23 17:03:54 +11:00
|
|
|
t2 {
|
2020-11-23 16:59:05 +11:00
|
|
|
position: relative;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 6px;
|
|
|
|
font-size: 22px;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 900;
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
2020-11-23 17:02:09 +11:00
|
|
|
position: absolute;
|
|
|
|
left: 38.5%;
|
2020-11-23 16:59:05 +11:00
|
|
|
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); }
|
2020-11-23 16:24:01 +11:00
|
|
|
}
|