Home > other >  How to set opacity-50 to normal color when you hover it
How to set opacity-50 to normal color when you hover it

Time:12-23

I'm trying to set opacity to normal color when you hover it.
Here's what I've tried.

<p >Test</p>

I've tried the code above but it didn't work.
Is there any way to do it?

CodePudding user response:

Try changing the opacity to 100 on hover like this:

<p >Test</p>
  • Related