代码示例:(标识:bs_form_range_step)
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/js/bootstrap.bundle.js"></script>
</head>
<body>

<div class="p-4">
  <h2>范围中的步进</h2>
  <p>默认情况下,范围数值之间的间隔为 1。您可以使用 step 属性更改它:</p>
  <form action=/index/demo/form_current.html>
    <label for="customRange" class="form-label">自定义范围</label>
    <input type="range" class="form-range" id="customRange" step="10" name="points">
    
    <button type="submit" class="btn btn-primary mt-3">提交</button>
  </form>
</div>

</body>
</html>
运行结果: