HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
To style a range menu, add the .form-range class to the input element with type=range"
To style a range menu, add the .form-range
class to the input element with type="range":
Custom range
Default range
<label for="customRange" class="form-label">Custom range</label>
<input
type="range" class="form-range" id="customRange">
By default, the interval between the range numbers is 1. You can change it by using the step
attribute:
<input type="range" class="form-range"
step="10">
By default, the mininmum value is 0 and maximum value is 100. You can use
the min
and/or max
attribute change it:
<input
type="range" class="form-range" min="0" max="4">