Forms CSS - Changing Button Hover Colour

Highlighted
Level 3

Forms CSS - Changing Button Hover Colour

Hi

Does anyone know the CSS code to change the button colour on hover?

Thanks
Sarah
Tags (1)
3 REPLIES 3
Highlighted
Anonymous
Not applicable

Re: Forms CSS - Changing Button Hover Colour

.mktoButton:hover{ }
 

Add your property between the brackets (color, border, etc.)
 

Highlighted
Level 3

Re: Forms CSS - Changing Button Hover Colour


Like this?  .mktoButton:hover{color: FF0000}
my button is still showing the default purple 😞 ;(
Highlighted
Anonymous
Not applicable

Re: Forms CSS - Changing Button Hover Colour

Color should be written as "#ff0000"