I found this question and associated answer: CSS hide element, after 5 seconds show it
However I am trying to hide element a, and reveal element b at the same time.
Please see my current code:
#showthiscolumn {
animation: cssAnimation 0s 5s forwards;
visibility: hidden;
}
@keyframes cssAnimation {
to { visibility: visible; }
}
#hidethiscolumn {
animation: cssAnimation 0s 5s forwards;
visibility: visible;
}
@keyframes cssAnimation {
to { visibility: hidden; }
}
The #hidethiscolumn
element works, but #showthiscolumn
content never appears.