make font awesome spin but not the word on hover

89

i:hover::before {
  transform: rotate(360deg);
}

i:before {
  display: inline-block;/* mandatory to be able to use transform */
  transition: 1s all;
}

Comments

Submit
0 Comments