5 Star 2 Fork 2

packy-tang/Bootstrap Selection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bootstrap-selection.css 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
packy-tang 提交于 2014-10-09 14:18 . 补上使用说明并例子
/**
* Copyright (c) 2014, packy-tang V0.1.1
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this
* list of conditions and the following disclaimer in the documentation and/or
* other materials provided with the distribution.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
.dropdown-checkbox{
display: inline-block !important;
}
.dropdown-checkbox-toggle{
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
background-color: #fff;
border: 1px solid #ccc;
padding: 4px 6px;
font-size: 14px;
color: #555;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.dropdown-checkbox ul.dropdown-checkbox-menu {
margin: 0;
padding: 0;
list-style: none;
padding: 5px 10px 5px 10px;
max-height: 200px;
overflow-y: auto;
overflow-x: visible;
min-width: 150px;
}
.dropdown-checkbox ul.dropdown-checkbox-menu li {
padding: 0;
margin: 0;
list-style: none;
}
.dropdown-checkbox ul.dropdown-checkbox-menu li label{
display: block;
margin-bottom: 5px;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/packy-tang/Bootstrap-Selection.git
git@gitee.com:packy-tang/Bootstrap-Selection.git
packy-tang
Bootstrap-Selection
Bootstrap Selection
master

搜索帮助