a { transition-property: text-shadow; text-shadow: 0px 0px 0px; text-decoration: none } a:hover { text-shadow: 0px 0px 5px; text-decoration: none; -webkit-animation:rainbow 5s infinite; -ms-animation:rainbow 5s infinite; -o-animation:rainbow 5s infinite; animation:rainbow 5s infinite; } @-webkit-keyframes rainbow { 0% {color: #ff0000; text-shadow: 0px 0px 5px #ff0000; } 10% {color: #ff8000; text-shadow: 0px 0px 5px #ff8000; } 20% {color: #ffff00; text-shadow: 0px 0px 5px #ffff00; } 30% {color: #80ff00; text-shadow: 0px 0px 5px #80ff00; } 40% {color: #00ff00; text-shadow: 0px 0px 5px #00ff00; } 50% {color: #00ff80; text-shadow: 0px 0px 5px #00ff80; } 60% {color: #00ffff; text-shadow: 0px 0px 5px #00ffff; } 70% {color: #0080ff; text-shadow: 0px 0px 5px #0080ff; } 80% {color: #0000ff; text-shadow: 0px 0px 5px #0000ff; } 90% {color: #8000ff; text-shadow: 0px 0px 5px #8000ff; } 100% {color: #ff0080; text-shadow: 0px 0px 5px #ff0080; } } @-ms-keyframes rainbow { 0% {color: #ff0000; text-shadow: 0px 0px 5px #ff0000; } 10% {color: #ff8000; text-shadow: 0px 0px 5px #ff8000; } 20% {color: #ffff00; text-shadow: 0px 0px 5px #ffff00; } 30% {color: #80ff00; text-shadow: 0px 0px 5px #80ff00; } 40% {color: #00ff00; text-shadow: 0px 0px 5px #00ff00; } 50% {color: #00ff80; text-shadow: 0px 0px 5px #00ff80; } 60% {color: #00ffff; text-shadow: 0px 0px 5px #00ffff; } 70% {color: #0080ff; text-shadow: 0px 0px 5px #0080ff; } 80% {color: #0000ff; text-shadow: 0px 0px 5px #0000ff; } 90% {color: #8000ff; text-shadow: 0px 0px 5px #8000ff; } 100% {color: #ff0080; text-shadow: 0px 0px 5px #ff0080; } } @-o-keyframes rainbow { 0% {color: #ff0000; text-shadow: 0px 0px 5px #ff0000; } 10% {color: #ff8000; text-shadow: 0px 0px 5px #ff8000; } 20% {color: #ffff00; text-shadow: 0px 0px 5px #ffff00; } 30% {color: #80ff00; text-shadow: 0px 0px 5px #80ff00; } 40% {color: #00ff00; text-shadow: 0px 0px 5px #00ff00; } 50% {color: #00ff80; text-shadow: 0px 0px 5px #00ff80; } 60% {color: #00ffff; text-shadow: 0px 0px 5px #00ffff; } 70% {color: #0080ff; text-shadow: 0px 0px 5px #0080ff; } 80% {color: #0000ff; text-shadow: 0px 0px 5px #0000ff; } 90% {color: #8000ff; text-shadow: 0px 0px 5px #8000ff; } 100% {color: #ff0080; text-shadow: 0px 0px 5px #ff0080; } } @keyframes rainbow { 0% {color: #ff0000; text-shadow: 0px 0px 5px #ff0000; } 10% {color: #ff8000; text-shadow: 0px 0px 5px #ff8000; } 20% {color: #ffff00; text-shadow: 0px 0px 5px #ffff00; } 30% {color: #80ff00; text-shadow: 0px 0px 5px #80ff00; } 40% {color: #00ff00; text-shadow: 0px 0px 5px #00ff00; } 50% {color: #00ff80; text-shadow: 0px 0px 5px #00ff80; } 60% {color: #00ffff; text-shadow: 0px 0px 5px #00ffff; } 70% {color: #0080ff; text-shadow: 0px 0px 5px #0080ff; } 80% {color: #0000ff; text-shadow: 0px 0px 5px #0000ff; } 90% {color: #8000ff; text-shadow: 0px 0px 5px #8000ff; } 100% {color: #ff0080; text-shadow: 0px 0px 5px #ff0080; } } a:active { text-shadow: 0px 0px 5px; -webkit-animation:rainbow 1s infinite; garn ! -ms-animation:rainbow 1s infinite; -o-animation:rainbow 1s infinite; animation:rainbow 1s infinite; }