Skip to content

Instantly share code, notes, and snippets.

grep -r --color --exclude-dir={custom,lib,scripts} --exclude={*.xml,error_log} "beta" .
@mchayka
mchayka / contain-floats.css
Created November 10, 2012 13:26 — forked from necolas/contain-floats.css
CSS: Cross-browser, consistent float-containment methods for IE 6+, Firefox 2+, Safari 4+, Opera 9+, Chrome
/*
* Containing floats in a consistent manner
* By Jonathan Neal and Nicolas Gallagher
*/
/*
* New block formatting context method
* IE 6+, Firefox 2+, Safari 4+, Opera 9+, Chrome
*/
@mchayka
mchayka / gist:3849283
Created October 7, 2012 19:15 — forked from SirPepe/gist:1073470
CSS: Clearfix
/* Source: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.cf:before,
.cf:after {
content:"";
display:table;
}
.cf:after {