Sha256: cd8b5501affa1bc8de2792656a8be09c1806e28d9e6686841ae8129f96069da1

Contents?: true

Size: 764 Bytes

Versions: 14

Compression:

Stored size: 764 Bytes

Contents

/*
 * The Magnificent Micro Clearfix
 *
 * Useful for clearing floats without structural markup.
 * Prevents margin-collapsing on child elements in most cases.
 *
 * Known issues:
 *
 * 1. For IE 6/7 when applied to an element that contains only left-floated
 *    children the bottom margin on child elements will be collapsed.
 *
 * 2. For Firefox versions prior to 3.5 when applied to the first child element
 *    of body, and the element does not have non-zero padding, extra space will
 *    appear between the body and the first child.
 *
 * See http://nicolasgallagher.com/micro-clearfix-hack/
 * and http://j.mp/bestclearfix
 *
 */

clearfix()
  &:before
  &:after
    content: ""
    display: table
  &:after
    clear: both
  zoom: 1 if support-for-ie

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ela-4.1.6 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.5 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.4 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.3 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.2 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.1 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-4.1.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-3.3.0 node_modules/poised.old/node_modules/nib/lib/nib/clearfix.styl
ela-3.2.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-3.1.1 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-3.1.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-3.0.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-2.0.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl
ela-1.1.0 node_modules/poised/node_modules/nib/lib/nib/clearfix.styl