Sha256: 9eeb42b9a6d745ef147651da9a4f71aaac7757700c9850a360f64bd28e6e45a8

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

@mixin centered {
  text-align: center;
}

@mixin center-block {
  position: relative;
}

@mixin center-block__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@mixin center-block__content--vertical {
  transform: translateY(-50%);
  left: auto;
}

@mixin center-block__content--horizontal {
  transform: translateX(-50%);
  top: auto;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/mixins/_utilities.alignment.scss