WordPress.org

Ready to get started?Download WordPress

Forums

css - hover on a submit button (7 posts)

  1. cupboy2013
    Member
    Posted 1 year ago #

    Should the following css work?

    input.submit:hover { color:yellow }

    It does nothing. Any suggestions?

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    What does this have to do with WordPress?

  3. cupboy2013
    Member
    Posted 1 year ago #

    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.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Can you post a link to a page where this is?

  5. WPyogi
    Forum Moderator
    Posted 1 year ago #

    This seems to work in a generic contex:

    input:hover {
       color:yellow;
       }
  6. Andrew
    Forum moderator
    Posted 1 year ago #

    I've moved this to the Miscellaneous because of no reference to WordPress.

  7. kjodle
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.