Sha256: 1f1a6622845e542ee9c9c95ed2add8a569b213f919b34938e731da94039ba1ea

Contents?: true

Size: 700 Bytes

Versions: 90

Compression:

Stored size: 700 Bytes

Contents

// stretch element height to specified top and bottom position

@mixin stretch-y($offset-top:0, $offset-bottom:0) {
  @include stretch($offset-top, false, $offset-bottom, false);
}


// stretch element width to specified left and right position

@mixin stretch-x($offset-left:0, $offset-right:0) {
  @include stretch(false, $offset-right, false, $offset-left);
}


// shorthand to stretch element height and width

@mixin stretch($offset-top:0, $offset-right:0, $offset-bottom:0, $offset-left:0) {
  position: absolute;
  @if $offset-top { top: $offset-top; }
  @if $offset-bottom { bottom: $offset-bottom; }
  @if $offset-left { left: $offset-left; }
  @if $offset-right { right: $offset-right; }
}

Version data entries

90 entries across 89 versions & 13 rubygems

Version Path
comixins-0.1.2 vendor/assets/stylesheets/compass/layout/_stretching.scss
arcabouco-0.2.13 vendor/bundle/gems/compass-core-1.0.3/stylesheets/compass/layout/_stretching.scss
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/layout/_stretching.scss
gem_2345-0.1.2 stylesheets/compass/layout/_stretching.scss
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/layout/_stretching.scss
compass-core-1.0.3 stylesheets/compass/layout/_stretching.scss
compass-core-1.1.0.alpha.3 stylesheets/compass/layout/_stretching.scss
compass-core-1.1.0.alpha.2 stylesheets/compass/layout/_stretching.scss
compass-core-1.1.0.alpha.1 stylesheets/compass/layout/_stretching.scss
compass-core-1.1.0.alpha.0 stylesheets/compass/layout/_stretching.scss
compass-core-1.0.1 stylesheets/compass/layout/_stretching.scss