I’m looking to make a html button darken in colour when hovered over.

The code I’m using is below:

<div style="width: 200px; color: white; background-color: #bf8f42; opacity: 0.8; margin: auto; margin-top: 0px; padding: 20px;">Training</div>

Read more here: How to make HTML button darken when hovered over?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: