Mercurial > nebulaweb3
comparison default/assets/scss/vendors/bootstrap/mixins/_border-radius.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
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-left-radius: $radius; | |
12 border-top-right-radius: $radius; | |
13 } | |
14 } | |
15 | |
16 @mixin border-right-radius($radius) { | |
17 @if $enable-rounded { | |
18 border-top-right-radius: $radius; | |
19 border-bottom-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-top-left-radius: $radius; | |
33 border-bottom-left-radius: $radius; | |
34 } | |
35 } |