input active css code example
Example 1: css clicked event
CSS clicked event
:active {
css declarations;
}
Example 2: css focus change color
<style>
.dabutton:focus {
background-color:yellow;
}
</style>
<button class="dabutton"></button> // <-- usage