Skip to content

Commit 6f6adfb

Browse files
committed
change clearfix mixin to drop parens that prevent it from being a class, too
1 parent 268e7d6 commit 6f6adfb

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

docs/assets/bootstrap.zip

95 Bytes
Binary file not shown.

docs/assets/css/bootstrap-responsive.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
99
*/
10+
.clearfix {
11+
*zoom: 1;
12+
}
13+
.clearfix:before, .clearfix:after {
14+
display: table;
15+
content: "";
16+
}
17+
.clearfix:after {
18+
clear: both;
19+
}
1020
.hidden {
1121
display: none;
1222
visibility: hidden;

docs/assets/css/bootstrap.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@ textarea {
9494
overflow: auto;
9595
vertical-align: top;
9696
}
97+
.clearfix {
98+
*zoom: 1;
99+
}
100+
.clearfix:before, .clearfix:after {
101+
display: table;
102+
content: "";
103+
}
104+
.clearfix:after {
105+
clear: both;
106+
}
97107
body {
98108
margin: 0;
99109
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

less/mixins.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Clearfix
1010
// --------
1111
// For clearing floats like a boss h5bp.com/q
12-
.clearfix() {
12+
.clearfix {
1313
*zoom: 1;
1414
&:before,
1515
&:after {

0 commit comments

Comments
 (0)