Skip to content

Commit

Permalink
Add a dark variant in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Apr 4, 2023
1 parent 3273da0 commit 519ce5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/content/docs/5.3/forms/range.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ Add the `disabled` boolean attribute on an input to give it a grayed out appeara
<input type="range" class="form-range" id="disabledRange" disabled>
{{< /example >}}

## Dark variant

Nothing to do here, just use it normally within a `.bg-dark` element.

{{< example class="bg-dark" >}}
<label for="customRange1" class="form-label">Example range</label>
<input type="range" class="form-range" id="customRange1">
{{< /example >}}

## Min and max

Range inputs have implicit values for `min` and `max``0` and `100`, respectively. You may specify new values for those using the `min` and `max` attributes.
Expand Down

0 comments on commit 519ce5f

Please sign in to comment.