Sha256: e3767613d5c49aa3b8d95bac362860c0539b346ea309ab8289b840449c8237b2

Contents?: true

Size: 594 Bytes

Versions: 5

Compression:

Stored size: 594 Bytes

Contents

@charset "UTF-8";

/// Provides a quick method for targeting `margin` on specific sides of a
/// box. Use a `null` value to “skip” a side.
///
/// @argument {arglist} $values
///   List of margin values, defined as CSS shorthand.
///
/// @example scss
///   .element {
///     @include margin(null 10px 3em 20vh);
///   }
///
/// @example css
///   .element {
///     margin-bottom: 3em;
///     margin-left: 20vh;
///     margin-right: 10px;
///   }
///
/// @require {mixin} _directional-property

@mixin margin($values...) {
  @include _directional-property(margin, false, $values...);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bourbon-5.0.0.beta.5 core/bourbon/library/_margin.scss
bourbon-5.0.0.beta.4 core/bourbon/library/_margin.scss
bourbon-5.0.0.beta.3 core/bourbon/library/_margin.scss
bourbon-5.0.0.beta.2 core/bourbon/library/_margin.scss
bourbon-5.0.0.beta.1 core/bourbon/addons/_margin.scss