My navigation is quite simple. I have a hover state which adds a border and a transparent gradient png background to some text, and an additional class which, when added by
If you are using SCSS, I recommend you do the following:
// primary-buttons
.primary-button, .primary-button:visited,
.primary-button:focus {
background: red;
color: white;
}
.primary-button:hover {
background: green; // Only for big screens
@media(max-width: 768px) {
background: red;
}
}
If you reset the value of the background to the initial value, you will no longer have problems with the button being pressed on devices <= 768px resolution