I’m trying to create a ‘flashing’ animation for a new ion-item that has been added to a page. I am using keyframes with ‘from’ and ‘to’ such as below:
.chat-message{
@keyframes newmessage {
from {
background: var(--ion-item-background-new);
}
to {
background: var(--ion-item-background);
}
}
animation: newmessage 3s ease-out 1;
}
This is not doing anything. If I use a different css property, such as opacity, this works fine, but never works when using background. I’ve tried using every background color variable I can think of to accomplish this. Is this a limitation of ion-item and the shadow DOM?
