• cupboy2013

    (@cupboy2013)


    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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What does this have to do with WordPress?

    Thread Starter cupboy2013

    (@cupboy2013)

    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

    (@wpyogi)

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

    WPyogi

    (@wpyogi)

    This seems to work in a generic contex:

    input:hover {
       color:yellow;
       }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    kjodle

    (@kjodle)

    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.