target ::after in animations code example
Example: css fade in and stay
.fadePopInAndStay {
display: block;
opacity: 0;
visibility: visible;
animation-name: doAnimStay;
animation-duration: 2s;
animation-fill-mode: forwards;/* Makes it stay after animation */
}
@-webkit-keyframes doAnimStay{
0% {opacity:0;}
100% {opacity:1;}
}