Skip to content

bits-sass/form-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bits.sass form control

Component for form controls.

Read more about Bits.sass toolkit.

Installation

  • Bower: bower install --save bits-sass-form-control
  • Download: zip, tar.gz
  • Git: git clone https://github.com/bits-sass/form-control.git

Demo

See demo.

Available SASS variables

  • bits-components-ns - components namespace, defaults to 'bits-'

Available classes

  • FormControl - core component
  • FormControl--checkbox - checkbox control
  • FormControl--radio - radio control
  • is-disabled - for disabled-state styles (themes)

N.B. You must also include the disabled attribute on input, textarea and select elements

Supported controls

  • input: text, search, email, number, url, tel, date, month, week, time
  • input: checkbox, radio - with a modifier
  • select: normal, multiple
  • textarea

Usage

See demo.

Requirements

  • Sass 3.2+

Browser support

  • Google Chrome (latest)
  • Opera (latest)
  • Firefox 4+
  • Safari 5+
  • Internet Explorer 8+

About

Component for form controls like input and textarea

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages