Any reason why when I run this code,
input[type=submit]:active { background-color: green; }
when I click the desired button it only flash
input[type=submit]:focus { background-color: green; }
try this