YouTip LogoYouTip

Bootstrap5 Form Range

Bootstrap5 Range

--

Bootstrap5 Tutorial

Bootstrap5 TutorialBootstrap5 InstallationBootstrap5 ContainerBootstrap5 Grid SystemBootstrap5 TypographyBootstrap5 ColorsBootstrap5 TablesBootstrap5 ImagesBootstrap5 JumbotronBootstrap5 AlertsBootstrap5 ButtonsBootstrap5 Button GroupsBootstrap5 BadgesBootstrap5 Progress BarsBootstrap5 SpinnersBootstrap5 PaginationBootstrap5 List GroupsBootstrap5 CardsBootstrap5 DropdownsBootstrap5 CollapseBootstrap5 NavsBootstrap5 NavbarBootstrap5 CarouselBootstrap5 ModalBootstrap5 TooltipBootstrap5 PopoverBootstrap5 ToastsBootstrap5 ScrollspyBootstrap5 OffcanvasBootstrap5 UtilitiesBootstrap5 Flex Layout

Bootstrap5 Forms

Bootstrap5 FormsBootstrap5 SelectBootstrap5 Checkbox and RadioBootstrap5 RangeBootstrap5 Input GroupBootstrap5 Floating LabelsBootstrap5 Form Validation

Bootstrap5 Checkbox and Radio

Bootstrap5 Input Group

Explore Further

Scripting

Programming

Web Services

Development Tools

Web Service

Scripting Languages

Web Design and Development

Programming Languages

Software

Computer Science

Bootstrap5 Range

To create a range slider, add type="range" to the input element and use the .form-range class:

Range:

Image 2

Example

<label for="customRange" class="form-label">Custom range</label>
<input type="range" class="form-range" id="customRange">

Try it Β»

Step

By default, the step is 1. You can set it using the step attribute:

Example

<input type="range" class="form-range" step="10">

Try it Β»

Min and Max Values

By default, the minimum value is 0 and the maximum value is 100. You can set them using the min or max attributes:

Example

<input type="range" class="form-range" min="0" max="4">

Try it Β»

Bootstrap5 Checkbox and Radio

Bootstrap5 Input Group

iFlytek Star Coding Plan includes free model call quotas, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform. Configuration Guide Β₯3.9/month Subscribe Now

Click to Share Notes

Cancel

← Bootstrap5 Form Floating LabelBootstrap5 Flex β†’