Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a simpler clearfix #2

Closed
necolas opened this issue Aug 19, 2011 · 1 comment
Closed

Use a simpler clearfix #2

necolas opened this issue Aug 19, 2011 · 1 comment
Labels

Comments

@necolas
Copy link
Contributor

necolas commented Aug 19, 2011

You could simplify the clearfix code with the code below, works in all modern browsers.

.clearfix {
    *zoom: 1;
}

.clearfix:after {
    clear: both;
    content: "";
    display: table;
}

Source: http://nicolasgallagher.com/micro-clearfix-hack/

@fat fat closed this as completed in 73f1bcf Aug 20, 2011
@fat
Copy link
Member

fat commented Aug 20, 2011

Thanks again!

akariv referenced this issue in akariv/bootstrap Apr 19, 2012
@mdo mdo mentioned this issue Aug 21, 2012
smt referenced this issue in smt/sass-twitter-bootstrap Aug 24, 2012
Changed spin for the correct sass equivalent.
@mdo mdo mentioned this issue May 4, 2013
eins78 added a commit to eins78/bootstrap that referenced this issue Jun 19, 2013
previous fix was maybe even more confusing. 
no need to use the data API if activating with js.
mdo added a commit that referenced this issue Aug 15, 2013
Let .navbar-wrapper flow in Carousel example
mikejr83 pushed a commit to SumTotalSystems/bootstrap that referenced this issue Mar 29, 2016
sarics314 referenced this issue in shore-gmbh/bootstrap Aug 1, 2016
…jump-on-hover to shore-bootstrap3

* commit '7a4335dd1d0fd7555eef6987ef7b3a76fad7fa09':
  B [#BTSRP-4] Revert "double bottom border of input on hover"
  B [#BTSRP-4] Revert "set disabled input bottom border to dashed"
slam-sio-gep added a commit to sioteam/bootstrap that referenced this issue Sep 8, 2016
afrobambacar referenced this issue in seoulstore/ssss Jul 25, 2017
Johann-S pushed a commit that referenced this issue Oct 4, 2017
mdo pushed a commit that referenced this issue Oct 18, 2017
browsers-devices.md: fix typo. (#23495)
PerseusTheGreat added a commit to PerseusTheGreat/bootstrap-4-rtl that referenced this issue Jan 7, 2019
PerseusTheGreat added a commit to PerseusTheGreat/bootstrap-4-rtl that referenced this issue Jan 7, 2019
PerseusTheGreat added a commit to PerseusTheGreat/bootstrap-4-rtl that referenced this issue Jun 21, 2019
GrCOTE7 added a commit to c57fr/bootstrap that referenced this issue Aug 15, 2019
@twbs twbs deleted a comment from python-coding-404 May 2, 2022
@twbs twbs locked as resolved and limited conversation to collaborators May 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants