I'm encountering a CSS issue with an input-range element:
<input type="range" id="difficultSelect" max="3" min="1" value="2"/>
Here is the CSS code I am using:
-webkit-appearance: none;
z-index: 102;
width: 225px;
height: 5px;
margin-left: 95px;
margin-top: 15px;
border-radius: 2px;
background: linear-gradient(to right, #83f922 0%, #ff4c00 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, #83f922),
color-stop(100%, #ff4c00));
background: -moz-linear-gradient(left, #83f922 0%, #ff4c00 100%);
background: -webkit-linear-gradient(left, #83f922 0%, #ff4c00 100%);
While the background of the slider should display a linear gradient from green to red, it appears correctly in Chrome but in Firefox, along with the background gradient, there is also a normal "grey" bar on top of it: https://i.sstatic.net/x1Z7Y.jpg
Where could I be going wrong? The version of Firefox I am using is 27.0.1.
Appreciate the help!