Sha256: 54f36b6e3c51c51792a54327ee9880d39f85af0acabcd7e12fdf118455f15f49

Contents?: true

Size: 766 Bytes

Versions: 2

Compression:

Stored size: 766 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-one {
///     @include padding(null 1rem);
///   }
///
///   .element-two {
///     @include padding(10vh null 10px 5%);
///   }
///
/// @example css
///   .element-one {
///     padding-left: 1rem;
///     padding-right: 1rem;
///   }
///
///   .element-two {
///     padding-bottom: 10px;
///     padding-left: 5%;
///     padding-top: 10vh;
///   }
///
/// @require {mixin} _directional-property

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
garth-jekyll-theme-0.1.9 _sass/bourbon/bourbon/library/_padding.scss
bourbon-5.0.0.beta.6 core/bourbon/library/_padding.scss