background : linear-gradient ( to right , #f00 , #ffa500 , #ff0 , #008000 , #0ff , #00f , #ee82ee ) ; background-size : 400% 400% ; -webkit-background-clip : text ; -webkit-text-fill-color : transparent ; font-weight : bold ; line-height : 25px ; animation : AnimNic 6s ease infinite ; i:before { background : linear-gradient ( to right , #f00 , #ffa500 , #ff0 , #008000 , #0ff , #00f , #ee82ee ) ; background-size : 400% 400% ; -webkit-background-clip : text ; -webkit- : transparent ; font-weight : bold ; line-height : 25px ; animation : AnimNic 6s ease infinite ; }
@keyframes AnimNic { 0% { background-position : 0% 50% ; } 50% { background-position : 100% 50% ; } 100% { background-position : 0% 50% ; } }