0
我有以下代码来创建一个切换按钮如何使用Bootstrap切换插件创建切换按钮?
<input type="checkbox" checked data-toggle="toggle">
我使用这些库从http://www.bootstraptoggle.com/#usage,
<link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>
,但它只是显示为一个普通的复选框。我如何让它看起来很花哨?
这里是为了什么,我这么远的链接 - http://jsbin.com/bocawucili/edit?html,output
谢谢! 工程就像一个魅力:) –