how to do onclick in css code example
Example 1: css clicked event
CSS clicked event
:active {
css declarations;
}
Example 2: css on click
something:active {}
CSS clicked event
:active {
css declarations;
}
something:active {}