Bootstrap 简明教程

Bootstrap - Range

本章将讨论 Bootstrap 表单范围。范围是一个交互式组件。用户可以快速滚动和滑动,以浏览所需范围内的可能值。

This chapter will discuss about Bootstrap form range. Range is an interactive component. The user can quickly scroll and slide through possible values spread across the required range.

Basic example

  1. Use class .form-range to create unique controls for <input type="range">. Both track and thumb have the same appearance across all browsers.

  2. Bootstrap doesn’t support "filling" their range’s track from left to right of the thumb as a means to visually indicate progress. This is only supported on firefox.