I am trying to figure out a way to have a longer fade out when clicking to a new passage by using passage tags. I have created a working 5 second transition fade using this code:
.fivesectrans.passage {
transition: opacity 5s ease-in;
}
/*Then give incoming passage this tag: fivesectrans*/
but when I do the same for the fade out, the animation does not work:
.passageout.passage{
transition: opacity 5s ease-out 1s;
}
What am I doing wrong?