active class in css menu code example
Example 1: css clicked event
CSS clicked event
:active {
css declarations;
}
Example 2: button active css
form :active {
color: red;
}
form button:active {
background: black;
}
CSS clicked event
:active {
css declarations;
}
form :active {
color: red;
}
form button:active {
background: black;
}