Sha256: c2dce6a3b93f592e55a3fd90bdab393b48dbced4a6bd9ac24adcc128270e0742

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

// Applies the given styles only when the browser support CSS3 3D transforms.
@mixin if-supports-3d-transforms() {
  @media (-webkit-transform-3d) {
    // Old Safari, Old Android
    // http://caniuse.com/#feat=css-featurequeries
    // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transform-3d
    @content;
  }

  @supports (transform: translate3d(0,0,0)) {
    // The Proper Way: Using a CSS feature query
    @content;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
optimacms-0.3.12 app/assets/stylesheets/bootstrap4/mixins/_transforms.scss
optimacms-0.3.11 app/assets/stylesheets/bootstrap4/mixins/_transforms.scss
optimacms-0.3.4 app/assets/stylesheets/bootstrap4/mixins/_transforms.scss
optimacms-0.3.3 app/assets/stylesheets/bootstrap4/mixins/_transforms.scss