프로젝트
GitHub에서 보기
t0m/select2-bootstrap-css
소개
Select2 위젯이 Bootstrap과 어울리도록 만드는 간단한 CSS
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSelect2 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
관련 프로젝트 살펴보기
불러오는 중…