Title: Easy Mouse Hover HTML?
Last modified: August 21, 2016

---

# Easy Mouse Hover HTML?

 *  [ReidHorton](https://wordpress.org/support/users/reidhorton/)
 * (@reidhorton)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/easy-mouse-hover-html/)
 * Just wondering if anyone knows any simple html or css I could use to have a darken-
   on-hover effect to my images.
 * Looked for a few plugins, couldnt find what I need.
 * thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/easy-mouse-hover-html/#post-3851463)
 * Look online for some javascript to do the job.
    Google, `darken on mouse hover
   javascript`
 *  [Shaun Scovil](https://wordpress.org/support/users/sscovil/)
 * (@sscovil)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/easy-mouse-hover-html/#post-3851472)
 * I would use [CSS opacity](http://www.w3schools.com/css/css_image_transparency.asp)
   for this. Something like:
 *     ```
       img {
           opacity:0.8;
           filter:alpha(opacity=80); /* For IE8 and earlier */
       }
       img:hover {
           opacity:1.0;
           filter:alpha(opacity=100); /* For IE8 and earlier */
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Easy Mouse Hover HTML?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Shaun Scovil](https://wordpress.org/support/users/sscovil/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/easy-mouse-hover-html/#post-3851472)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
