ds17 css: glitch the .free-admission

This commit is contained in:
Astro 2017-10-18 00:11:15 +02:00
parent 22fba47d1d
commit d1e145eec3
2 changed files with 38 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<span itemprop="addressLocality" class="locality">Dresden</span>
</span>
</div>
<div>
<div class="free-admission">
Eintritt: frei!
</div>
</span>

View File

@ -113,3 +113,40 @@ footer {
width: 50%;
}
}
.free-admission {
margin: 1em 0;
color: #ff0000;
font-weight: bold;
animation-name: glitch;
animation-duration: 10s;
animation-iteration-count: infinite;
transform-origin: 0% 50%;
}
@keyframes glitch {
0% {
color: #ff0000;
transform: translate(1em, 0) rotate(-90deg);
}
24.9% {
color: #ff0000;
transform: translate(1em, 0) rotate(-90deg);
}
25% {
color: #738588;
transform: none;
}
74.9% {
color: #738588;
transform: none;
}
75% {
color: #fe0080;
transform: rotate(45deg) scale(1.5, 1.5);
}
100% {
color: #fe0080;
transform: rotate(45deg) scale(1.5, 1.5);
}
}