]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Create `border-top-left-radius` and `border-bottom-right-radius` mixins (#28100)
authorJoão Lucas <35262827+JLammeer@users.noreply.github.com>
Thu, 7 Feb 2019 08:02:05 +0000 (00:02 -0800)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 7 Feb 2019 08:02:05 +0000 (09:02 +0100)
* Create border-top-left-radius mixin
* Create border-bottom-right-radius mixin

scss/mixins/_border-radius.scss

index 3dbc3a6cc0adef89819d14d0bf5c0c4a641a4e57..88aeb37d818c3fa50abf6f27e9be69b87d5db40b 100644 (file)
   }
 }
 
+@mixin border-top-left-radius($radius) {
+  @if $enable-rounded {
+    border-top-left-radius: $radius;
+  }
+}
+
 @mixin border-top-right-radius($radius) {
   @if $enable-rounded {
     border-top-right-radius: $radius;
   }
 }
 
+@mixin border-bottom-right-radius($radius) {
+  @if $enable-rounded {
+    border-bottom-right-radius: $radius;
+  }
+}
+
 @mixin border-bottom-left-radius($radius) {
   @if $enable-rounded {
     border-bottom-left-radius: $radius;