I have developed a switch board with two electronic switches and two lights, it is producing different results in different browsers.
Chrome Output
In Chrome it is working good.

Safari Output
The shiny labels of buttons are pushed to bottom

Fire Fox Output
The radial gradient is DULL

Is there any thing i am missing while doing cross browser platform support?
Any suggestions please! Any help will be highly appreciated
Please look for Present version Code Pen Link It is with comments
Fixed label position and gradient : Code Pen Demo
To fix the position of the labels, use
topinstead ofmargin-top.The problem is not in Safari or Chrome, but rather Firefox doesn’t handle
margin-topin percentage properly. I tried settingmargin-top: 100%and only Safari and Chrome (Mac version) render the label below the switch. Firefox determines that 100% is less than the full height of the switch.As for the gradient in Firefox, simply move the line
radial-gradientto the top and leave-moz-radial-gradientat the bottom. This would allow the browser specific CSS to take effect.