Mercurial > nebulaweb3
diff default/assets/scss/vendors/bourbon/library/_border-width.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/assets/scss/vendors/bourbon/library/_border-width.scss Sat May 31 09:21:51 2025 +0800 @@ -0,0 +1,24 @@ +@charset "UTF-8"; + +/// Provides a quick method for targeting `border-width` on specific sides of a +/// box. Use a `null` value to “skip” a side. +/// +/// @argument {arglist} $values +/// List of border widths, defined as CSS shorthand. +/// +/// @example scss +/// .element { +/// @include border-width(1em null 20px); +/// } +/// +/// // CSS Output +/// .element { +/// border-bottom-width: 20px; +/// border-top-width: 1em; +/// } +/// +/// @require {mixin} _directional-property + +@mixin border-width($values...) { + @include _directional-property(border, width, $values...); +}