0

Can we set hover color inline to li tag ? Actually I have a li attribute where I wanted to put the color dynamically coming from database. I have tried some way, below is one of them,

       <li style = {'color:blue !important'}:hover{'color:pink !important'} 

But it is not working.

Punam
  • 73
  • 1
  • 9

0 Answers0