summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/border-radius.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/fonts/less/mixins/border-radius.less')
-rwxr-xr-xbootstrap/fonts/less/mixins/border-radius.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/border-radius.less b/bootstrap/fonts/less/mixins/border-radius.less
new file mode 100755
index 0000000..da7ea10
--- /dev/null
+++ b/bootstrap/fonts/less/mixins/border-radius.less
@@ -0,0 +1,18 @@
+// Single side border-radius
+
+.border-top-radius(@radius) {
+ border-top-left-radius: @radius;
+ border-top-right-radius: @radius;
+}
+.border-right-radius(@radius) {
+ border-top-right-radius: @radius;
+ border-bottom-right-radius: @radius;
+}
+.border-bottom-radius(@radius) {
+ border-bottom-right-radius: @radius;
+ border-bottom-left-radius: @radius;
+}
+.border-left-radius(@radius) {
+ border-top-left-radius: @radius;
+ border-bottom-left-radius: @radius;
+}