Component for form controls.
Read more about Bits.sass toolkit.
- Bower:
bower install --save bits-sass-form-control
- Download: zip, tar.gz
- Git:
git clone https://github.com/bits-sass/form-control.git
See demo.
bits-components-ns
- components namespace, defaults to 'bits-'
FormControl
- core componentFormControl--checkbox
- checkbox controlFormControl--radio
- radio controlis-disabled
- for disabled-state styles (themes)
N.B. You must also include the disabled
attribute on input
, textarea
and
select
elements
input
: text, search, email, number, url, tel, date, month, week, timeinput
: checkbox, radio - with a modifierselect
: normal, multipletextarea
See demo.
- Sass 3.2+
- Google Chrome (latest)
- Opera (latest)
- Firefox 4+
- Safari 5+
- Internet Explorer 8+