summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss
diff options
context:
space:
mode:
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss')
-rw-r--r--debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss
new file mode 100644
index 0000000..6ff32b5
--- /dev/null
+++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_border-width.scss
@@ -0,0 +1,28 @@
+@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.
+///
+/// @param {Arglist} $vals
+/// List of arguments
+///
+/// @example scss - Usage
+/// .element {
+/// @include border-width(1em null 20px);
+/// }
+///
+/// @example css - CSS Output
+/// .element {
+/// border-bottom-width: 20px;
+/// border-top-width: 1em;
+/// }
+///
+/// @require {mixin} directional-property
+///
+/// @output `border-width`
+
+@mixin border-width($vals...) {
+ $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
+ $output-bourbon-deprecation-warnings: false !global;
+ @include directional-property(border, width, $vals...);
+ $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
+}