Title: css &#8211; hover on a submit button
Last modified: August 21, 2016

---

# css – hover on a submit button

 *  [cupboy2013](https://wordpress.org/support/users/cupboy2013/)
 * (@cupboy2013)
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/)
 * Should the following css work?
 * input.submit:hover { color:yellow }
 * It does nothing. Any suggestions?

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3721923)
 * What does this have to do with WordPress?
 *  Thread Starter [cupboy2013](https://wordpress.org/support/users/cupboy2013/)
 * (@cupboy2013)
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3721951)
 * This was posted under the topic “Themes and Templates
    – XHTML and CSS”, so seems
   like a relevant question, otherwise remove the letters CSS from the topic title.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3721956)
 * Can you post a link to a page where this is?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3721975)
 * This seems to work in a generic contex:
 *     ```
       input:hover {
          color:yellow;
          }
       ```
   
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3722022)
 * I’ve moved this to the Miscellaneous because of no reference to WordPress.
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3722194)
 * That’s CSS. You can always just create a sample .html page with that code and
   test it in a browser to see if it works.

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

The topic ‘css – hover on a submit button’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 6 replies
 * 4 participants
 * Last reply from: [kjodle](https://wordpress.org/support/users/kjodle/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/css-hover-on-a-submit-button/#post-3722194)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
