I recently launched my website which features a series of tabs with unique icons.
Some of the icons, labeled as soap-icon
, have animated effects while others, categorized under icomoon-icon
, do not. Upon checking the console, I discovered that the animation was indeed applied to all icons but a different effect seemed to activate upon hover.
How can this issue be resolved?
https://i.sstatic.net/7t5AA.jpg
Here is an excerpt of the CSS code:
.search-box-wrapper.style2 .search-box > ul.search-tabs li > a:hover i:before {
-webkit-animation: toTopFromBottom 0.35s forwards;
-moz-animation: toTopFromBottom 0.35s forwards;
animation: toTopFromBottom 0.35s forwards;
}