So I have a div I want to change the color of when clicked. I have three divs over all and I want to denote which one is the active div when clicking on it
Basically
Try this, it worked for me:
div:active{ background-color:white; }