3
I’d like to know how I can add an effect by clicking a button, I’m using HTML5 and CSS.
I add an effect with :HOVER, that as soon as the mouse is positioned on button the background of it is changed, but would like an effect that to the click on on the button the color change effect is activated.
Thank you!
Take a look at the properties
:active
and:visited
http://www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_link_more1– Gabriel Rodrigues