what tag should be used for animation in css links?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what tag should be used for animation in css links??

for links href in css just to make them to show some animations what should i use??

26th Jul 2016, 5:52 PM
Vinayak Gaud
8 Answers
+ 1
Hi again ;) the animation tags in css normally work for every tag - for the a href Tag as well you can animate it like normal text if this worked for you please check out my apps in the code playground: Digital Clock Pro and Number Guess Game Pro It would be really cool if you would like them ;)
26th Jul 2016, 5:57 PM
Kamil
Kamil - avatar
+ 1
Here is an example: HTML: <a href="something">click me</a> CSS: a { background-color: red; animation-name: colorchange; animation-duration: 1s; -webkit-animation-name: colorchange; -webkit-animation-duration: 1s; } @keyframes colorchange { 0% {background-color: red; } 50% {background-color: green; } 100% {background-color: blue; } } @-webkit-keyframes colorchange { 0% {background-color: red; } 50% {background-color: green; } 100% {background-color: blue; } }
26th Jul 2016, 6:02 PM
Kamil
Kamil - avatar
+ 1
what does webkit do
26th Jul 2016, 6:07 PM
Vinayak Gaud
+ 1
it's just for special browsers which doesn't understand the normal tags
26th Jul 2016, 6:09 PM
Kamil
Kamil - avatar
0
which browser is suitable prefect for the this css and html
27th Jul 2016, 4:37 AM
Vinayak Gaud
0
Safari, Chrome and the code playground here
27th Jul 2016, 8:28 AM
Kamil
Kamil - avatar
- 3
highly doubt hhhhhhhhhhhhhhhhhhh)tuuuyu
27th Jul 2016, 6:07 PM
James Schuermeyer
James Schuermeyer - avatar
- 3
highly doubt hhhhhhhhhhhhhhhhhhh)tuuuyuut
27th Jul 2016, 6:07 PM
James Schuermeyer
James Schuermeyer - avatar