2011-12-20 07:58:56 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
2012-01-23 23:14:16 +01:00
< title > Bootstrap, from Twitter< / title >
2011-12-20 07:58:56 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< meta name = "description" content = "" >
< meta name = "author" content = "" >
2012-01-23 23:14:16 +01:00
<!-- Le HTML5 shim, for IE6 - 8 support of HTML elements -->
2011-12-20 07:58:56 +01:00
<!-- [if lt IE 9]>
< script src = "http://html5shim.googlecode.com/svn/trunk/html5.js" > < / script >
<![endif]-->
<!-- Le styles -->
< link href = "../bootstrap.css" rel = "stylesheet" >
2012-01-25 19:02:52 +01:00
< link href = "../bootstrap-responsive.css" rel = "stylesheet" >
2011-12-20 07:58:56 +01:00
< link href = "assets/css/docs.css" rel = "stylesheet" >
< link href = "assets/js/google-code-prettify/prettify.css" rel = "stylesheet" >
<!-- Le fav and touch icons -->
2012-01-25 19:19:29 +01:00
< link rel = "shortcut icon" href = "assets/ico/favicon.ico" >
2012-01-23 23:14:16 +01:00
< link rel = "apple-touch-icon" href = "images/apple-touch-icon.png" >
< link rel = "apple-touch-icon" sizes = "72x72" href = "images/apple-touch-icon-72x72.png" >
< link rel = "apple-touch-icon" sizes = "114x114" href = "images/apple-touch-icon-114x114.png" >
2011-12-20 07:58:56 +01:00
< / head >
2012-01-25 20:25:35 +01:00
< body data-spy = "scroll" data-target = ".subnav" data-offset = "50" >
2012-01-24 04:55:00 +01:00
2012-01-26 19:00:09 +01:00
2012-01-24 00:17:32 +01:00
<!-- Navbar
2011-12-20 07:58:56 +01:00
================================================== -->
< div class = "navbar navbar-fixed" >
< div class = "navbar-inner" >
< div class = "container" >
< a class = "brand" href = "./index.html" > Bootstrap< / a >
< ul class = "nav" >
2012-01-24 00:17:32 +01:00
< li class = "" >
< a href = "./index.html" > Overview< / a >
2012-01-13 00:29:16 +01:00
< / li >
2012-01-24 00:17:32 +01:00
< li class = "" >
< a href = "./scaffolding.html" > Scaffolding< / a >
2012-01-13 00:29:16 +01:00
< / li >
2012-01-24 00:17:32 +01:00
< li class = "" >
< a href = "./base-css.html" > Base CSS< / a >
2012-01-13 00:29:16 +01:00
< / li >
2012-01-24 00:17:32 +01:00
< li class = "" >
< a href = "./components.html" > Components< / a >
2012-01-13 00:29:16 +01:00
< / li >
2012-01-23 23:14:16 +01:00
< li class = "" >
2012-01-24 00:17:32 +01:00
< a href = "./javascript.html" > Javascript plugins< / a >
< / li >
< li class = "" >
< a href = "./less.html" > Using LESS< / a >
2012-01-13 00:29:16 +01:00
< / li >
2012-01-25 10:22:29 +01:00
< li class = "" >
< a href = "./download.html" > Download< / a >
< / li >
2011-12-20 07:58:56 +01:00
< / ul >
< / div >
< / div >
< / div >
< div class = "container" >
2012-01-24 00:17:32 +01:00
<!-- Masthead
================================================== -->
< header class = "jumbotron subhead" id = "overview" >
< h1 > Upgrading to Bootstrap 2< / h1 >
< p class = "lead" > Learn about significant changes and additions since v1.4 with this handy guide.< / p >
< / header >
2011-12-20 07:58:56 +01:00
< h2 > Rough outline< / h2 >
< ul >
< li > Docs completely overhauled
< ul >
< li > Responsive thanks to new grid system< / li >
< li > Now less marketing and more information< / li >
< li > Extensive use of tables to share classes and elements of most components< / li >
< li > Broken down into several pages for easier consumption< / li >
< / ul >
< / li >
< li > Updated grid system, now only 12 columns
< ul >
< li > Same great classes, but now only 12 columns< / li >
< li > Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more< / li >
< / ul >
< / li >
< li > New thumbnails (previously media grids)
< ul >
< li > < code > .media-grid< / code > class has been changed to < code > .thumbnails< / code > < / li >
< li > Individual thumbnails now require < code > .thumbnail< / code > class< / li >
< / ul >
< / li >
< li > Updated forms
< ul >
< li > Default form style is now stacked to use less CSS and add flexibility< / li >
< li > Exact same markup is required for vertical or horizontal forms— just swap the classes< / li >
< li > New form defaults for search, inline, vertical, and horizontal< / li >
< / ul >
< / li >
< li > Updated tables
< ul >
< li > Table classes made more consistent< / li >
< li > Removed unused table color options (too much code for such little impact)< / li >
< / ul >
< / li >
< li > Typography
< ul >
< li > Right-aligned option for blockquotes if float: right;< / li >
2012-01-07 08:59:22 +01:00
< li > < code > h4< / code > elements were dropped from 16px to 14px with a default < code > line-height< / code > of 18px< / li >
< li > < code > h5< / code > elements were dropped from 14px to 12px< / li >
< li > < code > h6< / code > elements were dropped from 13px to 11px< / li >
2011-12-20 07:58:56 +01:00
< / ul >
< / li >
< li > Buttons
< ul >
< li > Added button bar options< / li >
< / ul >
< / li >
2012-01-07 10:59:53 +01:00
< li > Examples
< ul >
< li > Fluid examples redone. < code > .fluid-container< / code > now requires a < code > .sidebar-left< / code > or < code > .sidebar-right< / code > as well. Fluid sidebar element has a new class, < code > .fluid-sidebar< / code > .< / li >
< / ul >
< / li >
2012-01-07 12:45:24 +01:00
< li > Dropdown menus
< ul >
< li > Updated the < code > .dropdown-menu< / code > to tighten up spacing< / li >
< li > Now requires you to add a < code > < span class="caret"> < /span> < / code > to show the dropdown arrow< / li >
2012-01-08 06:10:17 +01:00
< li > The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.< / li >
2012-01-07 12:45:24 +01:00
< / ul >
< / li >
2012-01-08 05:40:28 +01:00
< li > Navigation
< ul >
< li > Tabs and pills now require the use of a new base class, < code > .nav< / code > , on their < code > < ul> < / code > < / li >
< li > New nav list component added that uses the same base class, < code > .nav< / code > < / li >
< li > Vertical tabs and pills have been added— just add < code > .stacked< / code > to the < code > < ul> < / code > < / li >
< li > Pills were restyled to be less rounded by default< / li >
< li > Pills now have dropdown menu support (they share the same markup and styles as tabs)< / li >
< / ul >
< / li >
2011-12-20 07:58:56 +01:00
< / ul >
2011-12-21 23:22:20 +01:00
<!--
2011-12-20 07:58:56 +01:00
< li >
< ul >
< li > < / li >
< / ul >
< / li >
-->
2011-12-21 23:22:20 +01:00
< / ul >
2012-01-26 19:00:09 +01:00
2012-01-24 00:17:32 +01:00
<!-- Footer
2011-12-20 07:58:56 +01:00
================================================== -->
< footer class = "footer" >
< p class = "pull-right" > < a href = "#" > Back to top< / a > < / p >
< p > Designed and built with all the love in the world < a href = "http://twitter.com/twitter" target = "_blank" > @twitter< / a > by < a href = "http://twitter.com/mdo" target = "_blank" > @mdo< / a > and < a href = "http://twitter.com/fat" target = "_blank" > @fat< / a > .< / p >
< p > Code licensed under the < a href = "http://www.apache.org/licenses/LICENSE-2.0" target = "_blank" > Apache License v2.0< / a > . Documentation licensed under < a href = "http://creativecommons.org/licenses/by/3.0/" > CC BY 3.0< / a > .< / p >
< p > Icons from < a href = "http://glyphicons.com" > Glyphicons Free< / a > , licensed under < a href = "http://creativecommons.org/licenses/by/3.0/" > CC BY 3.0< / a > .< / p >
< / footer >
2012-01-23 23:14:16 +01:00
2011-12-20 07:58:56 +01:00
< / div > <!-- /container -->
2012-01-23 23:14:16 +01:00
2012-01-26 19:00:09 +01:00
<!-- Le javascript
================================================== -->
2012-01-13 18:55:15 +01:00
<!-- Placed at the end of the document so the pages load faster -->
2012-01-26 19:00:09 +01:00
< script type = "text/javascript" src = "http://platform.twitter.com/widgets.js" > < / script >
2012-01-23 23:14:16 +01:00
< script src = "../js/tests/vendor/jquery.js" > < / script >
< script src = "assets/js/google-code-prettify/prettify.js" > < / script >
< script src = "../js/bootstrap-transition.js" > < / script >
< script src = "../js/bootstrap-alert.js" > < / script >
< script src = "../js/bootstrap-modal.js" > < / script >
2012-01-13 18:55:15 +01:00
< script src = "../js/bootstrap-dropdown.js" > < / script >
2012-01-23 23:14:16 +01:00
< script src = "../js/bootstrap-scrollspy.js" > < / script >
< script src = "../js/bootstrap-tab.js" > < / script >
< script src = "../js/bootstrap-tooltip.js" > < / script >
< script src = "../js/bootstrap-popover.js" > < / script >
< script src = "../js/bootstrap-button.js" > < / script >
< script src = "../js/bootstrap-collapse.js" > < / script >
< script src = "../js/bootstrap-carousel.js" > < / script >
< script src = "../js/bootstrap-typeahead.js" > < / script >
< script src = "assets/js/application.js" > < / script >
2011-12-20 07:58:56 +01:00
< / body >
< / html >