Sha256: 7c44ae330b2859835c25e3d373cbac6af8820d0a69ec132ee8f2f8ae0062dfa3

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

// ************************************************
// Float
// ************************************************
@mixin clearfix {
  &::after {
    display: block;
    clear: both;
    content: "";
  }
}

// ************************************************
// Word Break
// ************************************************
@mixin break-normal {
  word-break: normal;
  overflow-wrap: normal
}

@mixin truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// ************************************************
// Font Smoothing
// ************************************************
@mixin antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@mixin subpixel-antialiased {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

// ************************************************
// Container
// ************************************************
@mixin make-container($padding-x, $max-width) {
  padding-right: $padding-x;
  padding-left: $padding-x;
  margin-right: $size-auto;
  margin-left:  $size-auto;
  max-width: $max-width;
}

// *************************************************
// Center-align a block level element
// *************************************************

@mixin center-block() {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sass-zero-0.0.24 app/assets/stylesheets/sass-zero/mixins.scss