How to write a:hover in inline CSS?
Asked 07 September, 2021
Viewed 459 times
  • 59
Votes

I have a case where I must write inline CSS code, and I want to apply a hover style on an anchor.

How can I use a:hover in inline CSS inside the HTML style attribute?

E.g. you can't reliably use CSS classes in HTML emails.

25 Answer