I am customizing an HTML5 input. I noticed code duplication between my Firefox and Webkit styles, so I tried grouping them with disappointing results. All Firefox attributes were applied, but Chrome's attributes were not. Why would grouping affect results?
HTML
<input
class="slider"
type="range"
min="0"
max="100"
step="10">
CSS
.slider {
-webkit-appearance: none;
}
.slider,
.slider::-moz-range-track {
background-color: #031424;
height: 1em;
}