Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
6f6adfb5
Commit
6f6adfb5
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
change clearfix mixin to drop parens that prevent it from being a class, too
parent
268e7d67
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap-responsive.css
+10
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
+10
-0
docs/assets/css/bootstrap.css
less/mixins.less
+1
-1
less/mixins.less
with
21 additions
and
1 deletion
+21
-1
docs/assets/bootstrap.zip
+
0
-
0
View file @
6f6adfb5
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap-responsive.css
+
10
-
0
View file @
6f6adfb5
...
@@ -7,6 +7,16 @@
...
@@ -7,6 +7,16 @@
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
*/
.clearfix
{
*
zoom
:
1
;
}
.clearfix
:before
,
.clearfix
:after
{
display
:
table
;
content
:
""
;
}
.clearfix
:after
{
clear
:
both
;
}
.hidden
{
.hidden
{
display
:
none
;
display
:
none
;
visibility
:
hidden
;
visibility
:
hidden
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
10
-
0
View file @
6f6adfb5
...
@@ -94,6 +94,16 @@ textarea {
...
@@ -94,6 +94,16 @@ textarea {
overflow
:
auto
;
overflow
:
auto
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.clearfix
{
*
zoom
:
1
;
}
.clearfix
:before
,
.clearfix
:after
{
display
:
table
;
content
:
""
;
}
.clearfix
:after
{
clear
:
both
;
}
body
{
body
{
margin
:
0
;
margin
:
0
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
1
-
1
View file @
6f6adfb5
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
// Clearfix
// Clearfix
// --------
// --------
// For clearing floats like a boss h5bp.com/q
// For clearing floats like a boss h5bp.com/q
.clearfix
()
{
.clearfix {
*zoom: 1;
*zoom: 1;
&:before,
&:before,
&:after {
&:after {
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment