Sha256: d6e8408edc86d3c29f31154de619303398dc6938aada9cdb0289b32be2bec1b7

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

/**
 * Forces the element to fill its parent container.
 *
 * @example scss - Usage
 *   .element {
 *     @include fill-parent;
 *   }
 *
 * @example css - CSS Output
 *   .element {
 *     width: 100%;
 *     -webkit-box-sizing: border-box;
 *     -moz-box-sizing: border-box;
 *     box-sizing: border-box;
 *   }
 */
@mixin fill-parent() {
  width: 100%;

  @if $border-box-sizing == false {
    @include box-sizing(border-box);
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neat-1.7.0.rc app/assets/stylesheets/grid/_fill-parent.scss