Range
Defines a control for entering a number whose exact value is not important (like a slider control).
Default range is 0 to 100. However, you can set restrictions on what numbers are accepted with the min, max, and step attributes:
How to use this component
Code Resource
<label for="vol" class="form_formLabelTitle">Volume</label>
<input type="range" name="vol" id="vol" class="form_formTextbox" min="0" max="50" title="Set the volume" aria-describedby="preferred-volume" autocomplete="preferred-volume" >
<span id="preferred-volume" class="form_formInformationMessage">Please set the volume (between 0 and 50 ).</span>
/* Input Fields and Label*/
.form_formTextbox {
width: 100%;
font-size: medium;
margin-bottom: 15px;
float: right;
display: block;
border-radius: 0px;
border: 1px solid silver;
padding: 2px 5px;
border-radius: 6px;
height: 45px;
text-indent: 10px;
}
.form_formTextbox:hover, .form_formTextbox:focus {
border: 1px solid #015b66;
background: #f9f9f9;
outline: none;
}
.form_formLabelTitle {
width: 100%;
font-size: 1em;
color: black;
float: left;
text-align: left;
padding: 7px;
padding-left: 0px;
}
.form_formInformationMessage {
width: 100%;
float: left;
margin-bottom: 10px;
color: #464545;
position: relative;
top: -10px;
font-size: 0.9em;
float: left;
}
/* END */