We need to use @keyframes animate {}, for compatibility with Safari 4.0-8.0 you need to use @-webkit-keyframes example {} together with the @keyframes animate {}
Need to use @webkit-keyframes animate {} as well.
@-webkit-keyframes animate {
0%{
content: '123';
}
100%{
content: '789';
}
}