Sha256: dd3c6bd6d3af01253db3eb2e1ab0bad011152ab20b981e3a018ec3a1b7bb6ef5

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

@charset "UTF-8";

/// Outputs the `overflow-wrap` property and its legacy name `word-wrap` to
/// support browsers that do not yet use `overflow-wrap`.
///
/// @argument {string} $wrap [break-word]
///   Accepted CSS values are `normal`, `break-word`, `inherit`, `initial`,
///   or `unset`.
///
/// @example scss
///   .wrapper {
///     @include overflow-wrap;
///   }
///
///   // CSS Output
///   .wrapper {
///     word-wrap: break-word;
///     overflow-wrap: break-word;
///   }

/* stylelint-disable order/properties-alphabetical-order */

@mixin overflow-wrap($wrap: break-word) {
  word-wrap: $wrap;
  overflow-wrap: $wrap;
}

/* stylelint-enable */

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bourbon-6.0.0 core/bourbon/library/_overflow-wrap.scss