remove hover effect for mobile code example
Example: remove hover effect from mobile
/* REMOVE HOVER FROM MOBILE*/
@media (hover: hover) {
/* Write the styling which you want WITH hover.*/
.button2:hover{
color: rgb(221, 25, 25);
}
}
@media (hover: none) {
/* Write the styling which you want WITHOUT hover.*/
.button2:active{
color: #735bc1;
}
}