How can I create a continuous @keyframe animation that stays active for the duration of the user's visit to my webpage?
I've implemented several color animations on my website, each with a specific duration. Is there a way to make these color changes last throughout the entire browsing session?
Below is my current CSS code:
@keyframes goldwhite {
0% {color: white;}
80% {color: gold;}
100% {color: white;}
}
#bannerleft {
animation: goldwhite infinite;
-webkit-animation: goldwhite infinite;
position: absolute;
margin-top: -2.3%;
font-size: 13px;
color: white;
width: 130px;
left: 18%;
font-weight: 600;
}
If possible, how do I modify this animation to be ongoing?
Another question I have is regarding creating a text effect similar to the 'Slide to unlock' feature on the Apple IOS 7 lock screen, where the text transitions from gray to silver. The effect can be seen at around 10 seconds in the video linked below:
http://www.youtube.com/watch?v=8ix7HnH_6cQ
Is it possible for this effect to repeat or occur every 5 seconds?
Thank you for your assistance.