Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
6f6adfb5
Commit
6f6adfb5
authored
Feb 16, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change clearfix mixin to drop parens that prevent it from being a class, too
parent
268e7d67
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletion
+21
-1
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+10
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+10
-0
less/mixins.less
less/mixins.less
+1
-1
No files found.
docs/assets/bootstrap.zip
View file @
6f6adfb5
No preview for this file type
docs/assets/css/bootstrap-responsive.css
View file @
6f6adfb5
...
...
@@ -7,6 +7,16 @@
*
* 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
{
display
:
none
;
visibility
:
hidden
;
...
...
docs/assets/css/bootstrap.css
View file @
6f6adfb5
...
...
@@ -94,6 +94,16 @@ textarea {
overflow
:
auto
;
vertical-align
:
top
;
}
.clearfix
{
*
zoom
:
1
;
}
.clearfix
:before
,
.clearfix
:after
{
display
:
table
;
content
:
""
;
}
.clearfix
:after
{
clear
:
both
;
}
body
{
margin
:
0
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
...
...
less/mixins.less
View file @
6f6adfb5
...
...
@@ -9,7 +9,7 @@
// Clearfix
// --------
// For clearing floats like a boss h5bp.com/q
.clearfix
()
{
.clearfix {
*zoom: 1;
&:before,
&:after {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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