I have a JSF page where I am using an input range element. I want to add a different style class before and after the input range. Specifically, I want to display a plus icon (ui-icon-plusthick) before the input and a minus icon (ui-icon-minus) after the input.
.slider {
width: 100%;
height: 3px;
background: rgba(0, 0, 0, 0.5);
border: 0;
border-radius: 3px;
}
<input id="slider1" type="range" min="100" max="500" step="10" class="slider" />
Is it possible to use .slider:before to add the class .ui-icon-plusthick and .slider:after to add the class ui-icon-minus?