This project is based on twiter/bootstrap 2.2.1-wip via sass-twitter-bootstrap
How this differs from Twitter Bootstrap
The readme.MD file you are reading is different from the original projects readme.md, as it contains a summary of the changes made to the project that differentiate it from the orginal.
Uses SASS instead of LESS
Uses rem units as well as px
SASS Changes to output all units (except for the sprites for the icons) as rem units, with px as a fallback. rem units have an 80% global support from browsers data from caniuse.com
References regarding the use and understanding of rem units.
W3C, Understanding WCAG 2.0, Resize Text states "Ensuring that text containers resize when the text resizes AND using measurements that are relative to other measurements in the content..."
Detailed explanation: http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-scale.html
W3C quick overview: http://www.w3.org/WAI/WCAG20/quickref/Overview.php#visual-audio-contrast
Using rem units: http://snook.ca/archives/html_and_css/font-size-with-rem
Web Accessibility for Designers infographic: http://webaim.org/resources/designers/
Alternative useage for tooltips
Added js tooltip function so a tooltip can be called without using rel="tooltip"
Update tooltip explanation/useage html to reflect and explain the new function
Using rel="tooltip" causes a W3C validation error because "tooltip" is not a valid attibute.
It generates the following failure: "Error: Bad value tooltip for attribute rel on element a: Keyword tooltip is not registered."
References for HTML links and valid rel attributes/keywords.
Valid HTML4 keywords from W3C: http://www.w3.org/TR/html4/types.html#h-6.12
HTML4 link structure from W3C: http://www.w3.org/TR/html4/struct/links.html
Valid HTML5 keywords from W3C (Editors draft): http://dev.w3.org/html5/spec/single-page.html#linkTypes
HTML5 ink structure from W3C (Editors draft): http://dev.w3.org/html5/spec/single-page.html#the-link-element
Valid HTML5 keywords from WhatWG live document: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#linkTypes
HTML5 link structure from WhatWG live document: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#links
- All build files
- /docs/build (folder)
- /docs/template (folder)
- /Makefile (file)
- /package.json (file)
- /img (folder)
- /js (folder)
- /docs/assets/bootstrap.zip (file)
All other contents in the /docs folder have been retained, only the changes listed above have been made. All the LESS files have been retained, only the changes listed above have been made. The LESS files can be re-used on any project that wants to use those changes.
- /docs/bootstrap.zip (file): contains all the files needed to run bootstrap on a webserver.
- /sass (folder): contains all the sass files ready to compile
- /stylesheets (folder): contains the compiled css files
- config,rb (file): compass app configuration
Live example at http://twitterbootstrap.stempsite.co.uk/
To get started, checkout http://getbootstrap.com!
Clone the repo,
git clone git://github.com/twitter/bootstrap.git, or download the latest release.
For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org/.
Have a bug? Please create an issue here on GitHub that conforms with necolas's guidelines.
Keep up to date on announcements and more by following Bootstrap on Twitter, @TwBootstrap.
Read more detailed announcements, discussions, and more on The Official Twitter Bootstrap Blog.
Have a question? Ask on our mailing list!
Channel: ##twitter-bootstrap (the double ## is not a typo)
We have included a makefile with convenience methods for working with the Bootstrap library.
Our makefile depends on you having recess, connect, uglify.js, and jshint installed. To install, just run the following command in npm:
$ npm install recess connect uglify-js jshint -g
Runs the recess compiler to rebuild the
/lessfiles and compiles the docs pages. Requires recess and uglify-js. Read more in our docs »
Runs jshint and qunit tests headlessly in [phatomjs] (http://code.google.com/p/phantomjs/) (used for ci). Depends on having phantomjs installed.
This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem.
Copyright and license
Copyright 2012 Twitter, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or at:
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.