User-1838255255 posted
Hi grafic.web,
According to your description and needs, you say link with icon, want to change the icon when click it, could you post the related code for us to modify?
Also about CSS animation, please check these sample code:
Sample Code:
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
;
animation: mymove 3s infinite;
-moz-animation: mymove 3s infinite; /* Firefox */
-webkit-animation: mymove 3s infinite; /* Safari and Chrome */
-o-animation: mymove 3s infinite; /* Opera */
}
@keyframes mymove {
from {
top: 0px;
}
to {
top: 300px;
}
}
@-moz-keyframes mymove /* Firefox */
{
from {
top: 0px;
}
to {
top: 300px;
}
}
@-webkit-keyframes mymove /* Safari and Chrome */
{
from {
top: 0px;
}
to {
top: 300px;
}
}
@-o-keyframes mymove /* Opera */
{
from {
top: 0px;
}
to {
top: 300px;
}
}
</style>
</head>
<body>
<div></div>
</body>
Best Regards,
Eric Du