I just took these two styles from harlowe:
@-webkit-keyframes shudder {
50% {
-webkit-transform: translateX(0.2em);
transform: translateX(0.2em)
}
}
@keyframes shudder {
50% {
-webkit-transform: translateX(0.2em);
transform: translateX(0.2em)
}
}
.shudder {
-webkit-animation: shudder linear 0.1s 0s infinite;
animation: shudder linear 0.1s 0s infinite;
display: inline-block;
}
@-webkit-keyframes blinker {
50% { visibility: hidden; }
}
@keyframes blinker {
50% { visibility: hidden; }
}
.blink {
-webkit-animation: blinker 1s step-end infinite;
animation: blinker 1s step-end infinite;
}
I tried combining them like this:
@@.blink;.shudder;text@@
But it only blinks the text. I'm a novice at CSS so I don't know if there's an obvious conflict between these two that I'm missing, but I'd like to use them both on the same text if possible. Any help is appreciated.