Skip to content

Commit

Permalink
Add docs for custom ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored Jul 9, 2016
1 parent 3a2bca4 commit 8790b05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/components/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -928,3 +928,11 @@ $custom-file-text: (
{% endhighlight %}

You'll need to set the language of your document (or subtree thereof) correctly in order for the correct text to be shown. This can be done using [the `lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) or the [`Content-Language` HTTP header](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12), among other methods.

### Range input

Custom `<input type="range">` need only a custom class, `.custom-range` to trigger the custom styles.

{% example html %}
<input type="range" class="custom-range">
{% endexample %}

0 comments on commit 8790b05

Please sign in to comment.