This is probably because Firefox doesn't know what value of top
it must switch to.
Indeed, Firefox sees that top
is set to -10px
in .label:hover
but cannot find the value of top
in the label
declaration.
You simply have to set top
to 0
in the label
declaration:
.label {
// Your code
top: 0;
}
It works for me!