CODE 项目整体迁移至码云平台(公告
OS_Mirror / bootstrap JavaScript

Bootstrap是Twitter推出的一个开源的用于前端开发的工具包。它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Bootstrap提供了优雅的HTML和CSS规范,它即是由动态CSS语言Less写成。包括NASA的MSNBC(微软全国广播公司)的Breaking News都使用了该项目。

框架 bootstrap 前端开发 设计师 twitter

项目最近一次提交:6 个月 前 2c2ac3356

文件列表 提交日期 作者 提交信息 提交编号
dist / 2016-07-25 08:43:43 No_avatar Chris Rebert grunt dist e8c5de39
docs / 2017-09-12 20:54:12 No_avatar Harish Gadiya Fixed footer broken links (#23808) b6fdf61e
fonts / 2014-12-12 21:22:41 No_avatar Bastien Add glyphicons fonts in woff2 c8855a7a
grunt / 2016-07-25 08:40:41 No_avatar Chris Rebert Fix grunt/change-version.js to update... 82cba4ee
js / 2017-10-04 10:51:34 No_avatar Craig Main Prevent empty carousel from throwing,... 2c2ac335
less / 2016-07-25 08:42:13 No_avatar Chris Rebert Update remaining version numbers in s... c391850a
nuget / 2016-07-25 08:30:30 No_avatar Chris Rebert NuGet: Adjust version range to allow ... 904f306c
.editorconfig 2015-05-17 17:45:41 No_avatar XhmikosR Update 535c993b
.gitattributes 2015-02-17 14:27:31 No_avatar Chris Rebert .gitattributes: treat source maps as ... 40961659
.gitignore 2015-10-29 18:02:40 No_avatar XhmikosR Update to Jekyll v.3.0.0. 2cccdc8e
.hound.yml 2016-03-14 23:02:13 No_avatar Chris Rebert Port #19482 to v3 55f6efbb
.travis.yml 2017-09-17 08:51:56 No_avatar XhmikosR Unset `_JAVA_OPTIONS` env variable. 37e65fee 2015-07-01 15:36:06 No_avatar Chris Rebert Add changelog file that points to Git... e9d1fd9b
CNAME 2013-07-27 14:04:03 No_avatar Mark Otto add cname c8883647 2017-09-24 13:46:16 No_avatar Patrick H. Lauke Update with correct b... e52df5dc
Gemfile 2016-07-10 19:07:28 No_avatar XhmikosR Update gems. 8af91ab9
Gemfile.lock 2017-09-12 20:54:36 No_avatar XhmikosR Update Gemfile.lock so that it works ... 8b727783
Gruntfile.js 2016-07-16 21:22:39 No_avatar Chris Rebert Gruntfile.js: Use single quotes in ht... b8b099dd 2016-06-05 15:00:37 No_avatar Chris Rebert Fix "questons" typo fcdec36b
LICENSE 2016-01-01 12:12:09 No_avatar AQNOUCH Mohammed LICENSE: Update copyright to 2016 9c469cd0


Slack Bower version npm version Build Status devDependency Status NuGet Selenium Test Status

Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by Mark Otto and Jacob Thornton, and maintained by the core team with the massive support and involvement of the community.

To get started, check out!

Table of contents

Quick start

Several quick start options are available:

  • Download the latest release.
  • Clone the repo: git clone
  • Install with Bower: bower install bootstrap.
  • Install with npm: npm install bootstrap@3.
  • Install with Meteor: meteor add twbs:bootstrap.
  • Install with Composer: composer require twbs/bootstrap.

Read the Getting started page for information on the framework contents, templates and examples, and more.

What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

├── css/
│   ├── bootstrap.css
│   ├──
│   ├── bootstrap.min.css
│   ├──
│   ├── bootstrap-theme.css
│   ├──
│   ├── bootstrap-theme.min.css
│   └──
├── js/
│   ├── bootstrap.js
│   └── bootstrap.min.js
└── fonts/
    ├── glyphicons-halflings-regular.eot
    ├── glyphicons-halflings-regular.svg
    ├── glyphicons-halflings-regular.ttf
    ├── glyphicons-halflings-regular.woff
    └── glyphicons-halflings-regular.woff2

We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). CSS source maps (bootstrap.*.map) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Note that feature requests must target Bootstrap v4, because Bootstrap v3 is now in maintenance mode and is closed off to new features. This is so that we can focus our efforts on Bootstrap v4.


Bootstrap's documentation, included in this repo in the root directory, is built with Jekyll and publicly hosted on GitHub Pages at The docs may also be run locally.

Running documentation locally

  1. If necessary, install Jekyll and other Ruby dependencies with bundle install. Note for Windows users: Read this unofficial guide to get Jekyll up and running without problems.
  2. From the root /bootstrap directory, run bundle exec jekyll serve in the command line.
  3. Open http://localhost:9001 in your browser, and voilà.

Learn more about using Jekyll by reading its documentation.

Documentation for previous releases

Documentation for v2.3.2 has been made available for the time being at while folks transition to Bootstrap 3.

Previous releases and their documentation are also available for download.


Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Bootstrap v3 is now closed off to new features. It has gone into maintenance mode so that we can focus our efforts on Bootstrap v4, the future of the framework. Pull requests which add new features (rather than fix bugs) should target Bootstrap v4 (the {gfm-extraction-fa74e614af19baa1958f0837b510f0e7} git branch) instead.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at


Get updates on Bootstrap's development and chat with the project maintainers and community members.


For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to those rules whenever possible.

See the Releases section of our GitHub project for changelogs for each release version of Bootstrap. Release announcement posts on the official Bootstrap blog contain summaries of the most noteworthy changes made in each release.


Mark Otto

Jacob Thornton

Code and documentation copyright 2011-2016 Twitter, Inc. Code released under the MIT license. Docs released under Creative Commons.