Here I found a question with answers how to make label blink programmatically. However, I need to make my text blink in RichTextFX. So, I need a solution that can provide this functionality using only CSS.
I tried this:
.my-class {
     -fx-animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% {
    -fx-opacity: 0;
  }
}
But as it was found out, JavaFX doesn't support -fx-animation and @keyframes.
If it is possible, could anyone say how to do it?