项目
在 GitHub 查看
t0m/select2-bootstrap-css
关于
用于让 Select2 组件与 Bootstrap 风格协调的简单 CSS
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Select2 Bootstrap CSS
Simple CSS to make Select2 widgets fit in with Bootstrap.
- NOTE: This is the legacy repo. You probably want the official one here: https://github.com/select2/select2-bootstrap-theme
- This branch (
master) contains the legacy version for Bootstrap 2. - The legacy bootstrap 3 branch is here:
bootstrap3branch.*
The LESS file is located at lib/select2-bootstrap.less, and the SCSS file is located at lib/select2-bootstrap.scss.
Tests are included to verify that LESS and SCSS compile down to the target CSS. To run the tests, you'll need to install node.js, Less, and SASS. Then you can run:
npm install && bower install
npm test
Notable Changes
Versions prior to 1.2.0 included a default width for select2 containers. Applying the class "input-default" to your select will line the select2 container up with a default bootstrap text input.
Compass
This library can also be used as a Compass plugin.
Gemfile:
gem 'select2-bootstrap-css'
compass.rb:
require 'select2-bootstrap-css'
Your scss file:
@import 'select2-bootstrap';
Demos
探索相关项目
加载中…