Sha256: cf327a0d603d498e534dc518c4c007edf2927d158a3d3e41cf2f8e03a71f1cca

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.cf {
  *zoom: 1;

  &:before,
  &:after {
    content: " "; /* 1 */
    display: table; /* 2 */
  }

  &:after {
    clear: both;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minable-0.1.3 app/assets/stylesheets/minable/common/helpers/classes/_clearfix.scss
minable-0.1.2 app/assets/stylesheets/minable/common/helpers/classes/_clearfix.scss
minable-0.1.1 app/assets/stylesheets/minable/helpers/classes/_clearfix.scss