diary-website

Website for diary
git clone https://git.in0rdr.ch/diary-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_border-style.scss (604B)


      1 @charset "UTF-8";
      2 
      3 /// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side.
      4 ///
      5 /// @param {Arglist} $vals
      6 ///   List of arguments
      7 ///
      8 /// @example scss - Usage
      9 ///   .element {
     10 ///     @include border-style(dashed null solid);
     11 ///   }
     12 ///
     13 /// @example css - CSS Output
     14 ///   .element {
     15 ///     border-bottom-style: solid;
     16 ///     border-top-style: dashed;
     17 ///   }
     18 ///
     19 /// @require {mixin} directional-property
     20 ///
     21 /// @output `border-style`
     22 
     23 @mixin border-style($vals...) {
     24   @include directional-property(border, style, $vals...);
     25 }