how to style button on click code example Example: button click css style a:visited { color: purple; } a:active { color: blue; }