Re: Forms CSS - Changing Button Hover Colour

Sarah_Greig2
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
Anonymous
Not applicable

Re: Forms CSS - Changing Button Hover Colour

.mktoButton:hover{ }
 

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

Sarah_Greig2
Level 3

Re: Forms CSS - Changing Button Hover Colour


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

Re: Forms CSS - Changing Button Hover Colour

Color should be written as "#ff0000"