Sha256: a8711733d782decbd40350c042466393f004a9d4f39969e7a4d905a8d5f4ac84

Contents?: true

Size: 134 Bytes

Versions: 11

Compression:

Stored size: 134 Bytes

Contents

// Make line-height equal to an element's height

@mixin line-and-height($height) {
  height: $height;
  line-height: $height - 2;
}

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
gumby_on_rails-0.0.1 app/assets/stylesheets/gumby/functions/_line-and-height.scss
middleman-gumby-0.0.1 vendor/assets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.9 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.8 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.7 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.6 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.5 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.4 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.3 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.2 vendor/assets/stylesheets/sass/functions/_line-and-height.scss
gumby2-rails-0.0.1 vendor/assets/stylesheets/sass/functions/_line-and-height.scss