active in active on click in css code example Example: button active css form :active { color: red; } form button:active { background: black; }