Last active
December 25, 2015 19:29
-
-
Save oxocode/7027868 to your computer and use it in GitHub Desktop.
[CSS] Clearing Floats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Float Clearing--------------------------------------------- */ | |
address:before, address:after,article:before, article:after,aside:before, aside:after,audio:before, audio:after,blockquote:before, blockquote:after,canvas:before, canvas:after,dd:before, dd:after,div:before, div:after,dl:before, dl:after,fieldset:before, fieldset:after,figcaption:before, figcaption:after,figure:before, figure:after,footer:before, footer:after,form:before, form:after,header:before, header:after,hgroup:before, hgroup:after,hr:before, hr:after,main:before, main:after,output:before, output:after,pre:before, pre:after,section:before, section:after,table:before, table:after,tfoot:before, tfoot:after,video:before, video:after,.clearfix:before, .clearfix:after { content: " "; display: table;} address:after,article:after,aside:after,audio:after,blockquote:after,canvas:after,dd:after,div:after,dl:after,fieldset:after,figcaption:after,figure:after,footer:after,form:after,header:after,hgroup:after,hr:after,main:after,output:after,pre:after,section:after,table:after,tfoot:after,video:after,.clearfix:after { clear: both;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment