Turn checkboxes and radio buttons in toggle switches.
fork from : https://github.com/Bttstrp/bootstrap-switch.git

Emanuele a7a0cbc224 Merge pull request #192 from michaek/hotfix/grunt преди 11 години
build 351dc73429 Restored copyright messages to generated css and js. преди 11 години
docs eb03084e4a massive update and revision. added coffeescript source, updated README and documentation. removed input's surrounding div. преди 11 години
src 351dc73429 Restored copyright messages to generated css and js. преди 11 години
.gitignore ea36c06b54 remove .sass-cache from gitignore преди 12 години
CONTRIBUTING.md 93ca47d61c Update CONTRIBUTING.md преди 12 години
Gruntfile.js 351dc73429 Restored copyright messages to generated css and js. преди 11 години
LICENSE 40c9d7eb1d welcome преди 12 години
README.md eb03084e4a massive update and revision. added coffeescript source, updated README and documentation. removed input's surrounding div. преди 11 години
bower.json eb03084e4a massive update and revision. added coffeescript source, updated README and documentation. removed input's surrounding div. преди 11 години
composer.json eb03084e4a massive update and revision. added coffeescript source, updated README and documentation. removed input's surrounding div. преди 11 години
package.json 8283170ca1 Added Gruntfile for build tasks and committed new minified and unminified css and js. преди 11 години

README.md

Bootstrap Switch

Turn radio and checkbox form input in switches.

Bootstrap 3 ready thanks to nabil1337

Demo and Documentation

http://www.bootstrap-switch.org

Usage

Just include jQuery, Bootstrap and Bootstrap Switch CSS + Javascript

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="bootstrap-switch.css">
<script src="jquery.js"></script>
<script src="bootstrap-switch.js"></script>

Less

If you want to use your bootstrap variables, edit bootstrap-switch.less and compile it:

lessc src/less/bootstrap3/bootstrap-switch.less bootstrap-switch.css

Or if you are using Bootstrap 2.3.2:

lessc src/less/bootstrap2/bootstrap-switch.less bootstrap-switch.css

Supported browsers

IE8+ and all the other modern browsers.

License

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0