I have several html buttons and I have changed their appearance with CSS. Now I want to add some effects such as hover and active. I found hover and active for anchor <a href=""> tags but not for <button> tags. Any suggestion or work around?
I have several html buttons and I have changed their appearance with CSS. Now
Share
Both
:hoverand:activework for buttons, at least in chrome and IE8 (all I have access to at the moment).http://jsfiddle.net/j25ML/