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

Emanuele 2fc0f3746c Merge pull request #215 from nwhite89/master %!s(int64=11) %!d(string=hai) anos
build 8464563c39 minor release 2.0.1 %!s(int64=11) %!d(string=hai) anos
docs fa81f6eced Updated docs %!s(int64=11) %!d(string=hai) anos
src 6e6bccaf67 Moves Bootstrap Switch to be importable without mixins and variables %!s(int64=11) %!d(string=hai) anos
.gitignore f7ae118988 Derp fixes %!s(int64=11) %!d(string=hai) anos
CNAME a3ceb86964 ... %!s(int64=11) %!d(string=hai) anos
CONTRIBUTING.md 93ca47d61c Update CONTRIBUTING.md %!s(int64=11) %!d(string=hai) anos
Gruntfile.coffee f7ae118988 Derp fixes %!s(int64=11) %!d(string=hai) anos
LICENSE 40c9d7eb1d welcome %!s(int64=12) %!d(string=hai) anos
README.md 4e8d265e65 New line at eof %!s(int64=11) %!d(string=hai) anos
bower.json 8464563c39 minor release 2.0.1 %!s(int64=11) %!d(string=hai) anos
composer.json 8464563c39 minor release 2.0.1 %!s(int64=11) %!d(string=hai) anos
index.html 8464563c39 minor release 2.0.1 %!s(int64=11) %!d(string=hai) anos
package.json 8464563c39 minor release 2.0.1 %!s(int64=11) %!d(string=hai) anos

README.md

Bootstrap Switch

Turn checkboxes and radio buttons in toggle switches. Version 2 is here. Beware! The API design has been revisited. Check out the documentation to know more.

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