+ 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??
8 Antworten
+ 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 ;)
+ 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; }
}
+ 1
what does webkit do
+ 1
it's just for special browsers which doesn't understand the normal tags
0
which browser is suitable prefect for the this css and html
0
Safari, Chrome and the code playground here
- 3
highly doubt hhhhhhhhhhhhhhhhhhh)tuuuyu
- 3
highly doubt hhhhhhhhhhhhhhhhhhh)tuuuyuut