forked from wagerfield/cssmixins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
border-radius.less
49 lines (41 loc) · 1.11 KB
/
border-radius.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* Easier way to use border-radius
*
* @license BSD License
*/
.border-top-radius(@radius) {
.border-top-left-radius(@radius);
.border-top-right-radius(@radius);
}
.border-bottom-radius(@radius) {
.border-bottom-left-radius(@radius);
.border-bottom-right-radius(@radius);
}
.border-left-radius(@radius) {
.border-top-left-radius(@radius);
.border-bottom-left-radius(@radius);
}
.border-right-radius(@radius) {
.border-top-right-radius(@radius);
.border-bottom-right-radius(@radius);
}
.border-top-left-radius(@radius) {
-webkit-border-top-left-radius:@radius;
-moz-border-radius-topleft:@radius;
border-top-left-radius:@radius;
}
.border-top-right-radius(@radius) {
-webkit-border-top-right-radius:@radius;
-moz-border-radius-topright:@radius;
border-top-right-radius:@radius;
}
.border-bottom-left-radius(@radius) {
-webkit-border-bottom-left-radius:@radius;
-moz-border-radius-bottomleft:@radius;
border-bottom-left-radius:@radius;
}
.border-bottom-right-radius(@radius) {
-webkit-border-bottom-right-radius:@radius;
-moz-border-radius-bottomright:@radius;
border-bottom-right-radius:@radius;
}