i added a call to action button in my navigation menu, i added the css to my site and everything works fine but now i want a hover effect on this button, can you tell me how i can do this with css?
thanks for your help,
what i mean is how to change the color of the button on hover,
and also how to change the color of the text on hover of the button.
by the way the css you gave works pretty fine.
.main-navigation .main-nav ul li.nav-button a {
transition: all 0.2s ease-in;
}
.main-navigation .main-nav ul li.nav-button:hover a {
background-color: #ff0000;
color: #000;
}