Sha256: e0e1055d69c3ee1056bed64c99d566726b40a6491df712627e5099191589647c

Contents?: true

Size: 598 Bytes

Versions: 5

Compression:

Stored size: 598 Bytes

Contents

@charset "UTF-8";

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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