2012-03-23 05:08:41 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > Css · Twitter Bootstrap< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< meta name = "description" content = "" >
< meta name = "author" content = "" >
<!-- Le styles -->
< link href = "assets/css/bootstrap.css" rel = "stylesheet" >
< link href = "assets/css/bootstrap-responsive.css" rel = "stylesheet" >
< link href = "assets/css/docs.css" rel = "stylesheet" >
< link href = "assets/js/google-code-prettify/prettify.css" rel = "stylesheet" >
<!-- Le HTML5 shim, for IE6 - 8 support of HTML5 elements -->
<!-- [if lt IE 9]>
< script src = "http://html5shim.googlecode.com/svn/trunk/html5.js" > < / script >
<![endif]-->
<!-- Le fav and touch icons -->
< link rel = "shortcut icon" href = "assets/ico/favicon.ico" >
2012-03-25 09:46:03 +02:00
< link rel = "apple-touch-icon-precomposed" sizes = "144x144" href = "assets/ico/apple-touch-icon-144-precomposed.png" >
2012-03-23 05:08:41 +01:00
< link rel = "apple-touch-icon-precomposed" sizes = "114x114" href = "assets/ico/apple-touch-icon-114-precomposed.png" >
< link rel = "apple-touch-icon-precomposed" sizes = "72x72" href = "assets/ico/apple-touch-icon-72-precomposed.png" >
< link rel = "apple-touch-icon-precomposed" href = "assets/ico/apple-touch-icon-57-precomposed.png" >
< / head >
< body data-spy = "scroll" data-target = ".subnav" data-offset = "50" >
<!-- Navbar
================================================== -->
< div class = "navbar navbar-fixed-top" >
< div class = "navbar-inner" >
< div class = "container" >
< a class = "btn btn-navbar" data-toggle = "collapse" data-target = ".nav-collapse" >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / a >
< a class = "brand" href = "./index.html" > Bootstrap< / a >
2012-03-25 22:33:36 +02:00
< div class = "nav-collapse collapse" >
2012-03-23 05:08:41 +01:00
< ul class = "nav" >
< li class = "" >
< a href = "./index.html" > Overview< / a >
< / li >
< li class = "" >
< a href = "./scaffolding.html" > Scaffolding< / a >
< / li >
< li class = "" >
< a href = "./base-css.html" > Base CSS< / a >
< / li >
< li class = "" >
< a href = "./components.html" > Components< / a >
< / li >
< li class = "" >
< a href = "./javascript.html" > Javascript plugins< / a >
< / li >
< li class = "" >
< a href = "./less.html" > Using LESS< / a >
< / li >
< li class = "divider-vertical" > < / li >
< li class = "" >
< a href = "./download.html" > Customize< / a >
< / li >
< li class = "" >
< a href = "./examples.html" > Examples< / a >
< / li >
< / ul >
< / div >
< / div >
< / div >
< / div >
< div class = "container" >
2012-03-23 09:28:04 +01:00
< style >
2012-03-23 09:31:22 +01:00
/* nuke background */
body {
background-image: none;
}
/* space out subhead */
.subhead {
margin-bottom: 36px;
}
2012-03-23 17:47:57 +01:00
h4 {
margin-bottom: 5px;
}
2012-03-23 09:31:22 +01:00
/* colgroup tests */
.col1 {
background-color: rgba(255,0,0,.1);
}
.col2 {
background-color: rgba(0,255,0,.1);
}
.col3 {
background-color: rgba(0,0,255,.1);
}
2012-03-23 09:28:04 +01:00
< / style >
2012-03-23 17:47:57 +01:00
2012-03-23 05:08:41 +01:00
<!-- Masthead
================================================== -->
< header class = "jumbotron subhead" id = "overview" >
2012-03-23 09:28:04 +01:00
< h1 > CSS Tests< / h1 >
< p class = "lead" > One stop shop for quick debugging and edge-case tests of CSS.< / p >
2012-03-23 05:08:41 +01:00
< / header >
2012-03-23 17:47:57 +01:00
<!-- Tables
================================================== -->
2012-03-23 09:28:04 +01:00
< div class = "page-header" >
< h1 > Tables< / h1 >
< / div >
< div class = "row" >
< div class = "span6" >
< h4 > Bordered without thead< / h4 >
< table class = "table table-bordered" >
< tbody >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / tbody >
< / table >
< h4 > Bordered without thead, with caption< / h4 >
< table class = "table table-bordered" >
< caption > Table caption< / caption >
< tbody >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / tbody >
< / table >
< h4 > Bordered without thead, with colgroup< / h4 >
< table class = "table table-bordered" >
< colgroup >
< col class = "col1" >
< col class = "col2" >
< col class = "col3" >
< / colgroup >
< tbody >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / tbody >
< / table >
< h4 > Bordered with thead, with colgroup< / h4 >
< table class = "table table-bordered" >
< colgroup >
< col class = "col1" >
< col class = "col2" >
< col class = "col3" >
< / colgroup >
< thead >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / thead >
< tbody >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / tbody >
< / table >
< / div > <!-- /span -->
< div class = "span6" >
< h4 > Bordered with thead and caption< / h4 >
< table class = "table table-bordered" >
< caption > Table caption< / caption >
< thead >
< tr >
< th > 1< / th >
< th > 2< / th >
< th > 3< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td > 2< / td >
< td > 3< / td >
< / tr >
< / tbody >
< / table >
< h4 > Bordered with rowspan and colspan< / h4 >
< table class = "table table-bordered" >
< thead >
< tr >
< th > 1< / th >
< th > 2< / th >
< th > 3< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td colspan = "2" > 1 and 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td > 1< / td >
< td rowspan = "2" > 2< / td >
< td > 3< / td >
< / tr >
< tr >
< td rowspan = "2" > 1< / td >
< td > 3< / td >
< / tr >
< tr >
< td colspan = "2" > 2 and 3< / td >
< / tr >
< / tbody >
< / table >
< / div > <!-- /span -->
< / div > <!-- /row -->
2012-03-23 05:08:41 +01:00
2012-03-23 17:47:57 +01:00
<!-- Forms
================================================== -->
< div class = "page-header" >
< h1 > Forms< / h1 >
< / div >
< div class = "row" >
< div class = "span4" >
< h4 > Prepend and append on inputs< / h4 >
< form >
< div class = "controls" >
< div class = "input-prepend" >
< span class = "add-on" > @< / span > < input class = "span2" id = "prependedInput" size = "16" type = "text" >
< / div >
< / div >
< div class = "controls" >
< div class = "input-append" >
< input class = "span2" id = "prependedInput" size = "16" type = "text" > < span class = "add-on" > @< / span >
< / div >
< / div >
< div class = "controls" >
< div class = "input-prepend input-append" >
< span class = "add-on" > $< / span > < input class = "span2" id = "prependedInput" size = "16" type = "text" > < span class = "add-on" > .00< / span >
< / div >
< / div >
< / form >
< / div > <!-- /span -->
< div class = "span6" >
< h4 > Prepend and append with uneditable< / h4 >
< form >
< div class = "input-prepend" >
< span class = "add-on" > $< / span > < span class = "span2 uneditable-input" > Some value here< / span >
< / div >
< div class = "input-append" >
< span class = "span2 uneditable-input" > Some value here< / span > < span class = "add-on" > .00< / span >
< / div >
< / form >
< / div > <!-- /span -->
< / div > <!-- /row -->
2012-03-23 05:08:41 +01:00
<!-- Footer
================================================== -->
< 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 >
< / div > <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
< script type = "text/javascript" src = "http://platform.twitter.com/widgets.js" > < / script >
< script src = "assets/js/jquery.js" > < / script >
< script src = "assets/js/google-code-prettify/prettify.js" > < / script >
< script src = "assets/js/bootstrap-transition.js" > < / script >
< script src = "assets/js/bootstrap-alert.js" > < / script >
< script src = "assets/js/bootstrap-modal.js" > < / script >
< script src = "assets/js/bootstrap-dropdown.js" > < / script >
< script src = "assets/js/bootstrap-scrollspy.js" > < / script >
< script src = "assets/js/bootstrap-tab.js" > < / script >
< script src = "assets/js/bootstrap-tooltip.js" > < / script >
< script src = "assets/js/bootstrap-popover.js" > < / script >
< script src = "assets/js/bootstrap-button.js" > < / script >
< script src = "assets/js/bootstrap-collapse.js" > < / script >
< script src = "assets/js/bootstrap-carousel.js" > < / script >
< script src = "assets/js/bootstrap-typeahead.js" > < / script >
< script src = "assets/js/application.js" > < / script >
< / body >
< / html >