aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-1.0.0.css
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-08-19 20:20:48 -0700
committerJacob Thornton <[email protected]>2011-08-19 20:20:48 -0700
commit73f1bcf7179b3050d2e8e0dd65c3f87667ceed7f (patch)
treeb9e6ff7718150947950755c7365135212b102fdf /bootstrap-1.0.0.css
parentb342c4cca322ab40763aaa4cc26108a8aeb3620d (diff)
downloadbootstrap-73f1bcf7179b3050d2e8e0dd65c3f87667ceed7f.tar.xz
bootstrap-73f1bcf7179b3050d2e8e0dd65c3f87667ceed7f.zip
Simpler clearfix #2 http://nicolasgallagher.com/micro-clearfix-hack/
Diffstat (limited to 'bootstrap-1.0.0.css')
-rw-r--r--bootstrap-1.0.0.css53
1 files changed, 28 insertions, 25 deletions
diff --git a/bootstrap-1.0.0.css b/bootstrap-1.0.0.css
index 9319c2c99..37e03dee7 100644
--- a/bootstrap-1.0.0.css
+++ b/bootstrap-1.0.0.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Aug 19 19:51:25 PDT 2011
+ * Date: Fri Aug 19 20:19:39 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -98,12 +98,12 @@ aside {
.clearfix {
zoom: 1;
}
+.clearfix:before, .clearfix:after {
+ display: table;
+ content: "";
+}
.clearfix:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
.center-block {
display: block;
@@ -114,12 +114,12 @@ aside {
margin: 0 auto;
zoom: 1;
}
+.container:before, .container:after {
+ display: table;
+ content: "";
+}
.container:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
/*
* Scaffolding
@@ -128,12 +128,12 @@ aside {
.row {
zoom: 1;
}
+.row:before, .row:after {
+ display: table;
+ content: "";
+}
.row:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
.row .span1 {
float: left;
@@ -355,12 +355,12 @@ div.container-fluid {
padding: 20px;
zoom: 1;
}
+div.container-fluid:before, div.container-fluid:after {
+ display: table;
+ content: "";
+}
div.container-fluid:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
div.container-fluid div.sidebar {
float: left;
@@ -1448,12 +1448,15 @@ ul.tabs, ul.pills {
padding: 0;
zoom: 1;
}
+ul.tabs:before,
+ul.pills:before,
+ul.tabs:after,
+ul.pills:after {
+ display: table;
+ content: "";
+}
ul.tabs:after, ul.pills:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
ul.tabs li, ul.pills li {
display: inline;
@@ -1609,12 +1612,12 @@ div.modal .modal-footer {
box-shadow: inset 0 1px 0 #ffffff;
zoom: 1;
}
+div.modal .modal-footer:before, div.modal .modal-footer:after {
+ display: table;
+ content: "";
+}
div.modal .modal-footer:after {
- display: block;
- visibility: hidden;
- height: 0;
clear: both;
- content: ".";
}
div.modal .modal-footer .btn {
float: right;