Button: does not work in Firefox

I have a problem with the fact that the freeze does not work in Firefox! It works in Chrome, IE 9, IE 8 and IE 7. Does anyone know this problem and how to fix it?

CSS :
.row button span:hover { background-position : left bottom; border : 1px solid #2b2b2b; }

HTML :
<button type="submit"><span>Button</span></button>

+7
source share
1 answer

It looks like the hover event is out of range.

Try selecting button:hover span instead of button span:hover

Here's a JSFiddle that works fine by doing the following: http://jsfiddle.net/3j7G5/

+12
source

All Articles