3 /// Provides a concise, one-line method for setting `border-radius` on both the
4 /// top-left and top-right of a box.
6 /// @argument {number (with unit)} $radii
10 /// @include border-top-radius(4px);
15 /// border-top-left-radius: 4px;
16 /// border-top-right-radius: 4px;
19 @mixin border-top-radius($radii) {
20 border-top-left-radius: $radii;
21 border-top-right-radius: $radii;
24 /// Provides a concise, one-line method for setting `border-radius` on both the
25 /// top-right and bottom-right of a box.
27 /// @argument {number (with unit)} $radii
31 /// @include border-right-radius(3px);
36 /// border-bottom-right-radius: 3px;
37 /// border-top-right-radius: 3px;
40 @mixin border-right-radius($radii) {
41 border-bottom-right-radius: $radii;
42 border-top-right-radius: $radii;
45 /// Provides a concise, one-line method for setting `border-radius` on both the
46 /// bottom-left and bottom-right of a box.
48 /// @argument {number (with unit)} $radii
52 /// @include border-bottom-radius(2px);
57 /// border-bottom-left-radius: 2px;
58 /// border-bottom-right-radius: 2px;
61 @mixin border-bottom-radius($radii) {
62 border-bottom-left-radius: $radii;
63 border-bottom-right-radius: $radii;
66 /// Provides a concise, one-line method for setting `border-radius` on both the
67 /// top-left and bottom-left of a box.
69 /// @argument {number (with unit)} $radii
73 /// @include border-left-radius(1px);
78 /// border-bottom-left-radius: 1px;
79 /// border-top-left-radius: 1px;
82 @mixin border-left-radius($radii) {
83 border-bottom-left-radius: $radii;
84 border-top-left-radius: $radii;