]> git.ipfire.org Git - ipfire.org.git/blob - src/scss/bootstrap-4.0.0-alpha.6/scss/mixins/_border-radius.scss
.gitignore: Add .vscode
[ipfire.org.git] / src / scss / bootstrap-4.0.0-alpha.6 / scss / mixins / _border-radius.scss
1 // Single side border-radius
2
3 @mixin border-radius($radius: $border-radius) {
4 @if $enable-rounded {
5 border-radius: $radius;
6 }
7 }
8
9 @mixin border-top-radius($radius) {
10 @if $enable-rounded {
11 border-top-right-radius: $radius;
12 border-top-left-radius: $radius;
13 }
14 }
15
16 @mixin border-right-radius($radius) {
17 @if $enable-rounded {
18 border-bottom-right-radius: $radius;
19 border-top-right-radius: $radius;
20 }
21 }
22
23 @mixin border-bottom-radius($radius) {
24 @if $enable-rounded {
25 border-bottom-right-radius: $radius;
26 border-bottom-left-radius: $radius;
27 }
28 }
29
30 @mixin border-left-radius($radius) {
31 @if $enable-rounded {
32 border-bottom-left-radius: $radius;
33 border-top-left-radius: $radius;
34 }
35 }