css: add rounded-corners mixin
This commit is contained in:
parent
2760c58162
commit
4c91d42853
|
@ -7,3 +7,13 @@
|
|||
-o-transform: @transform;
|
||||
transform: @transform;
|
||||
}
|
||||
|
||||
.rounded-corners(@border-radius: 0.4em) {
|
||||
-webkit-border-radius: @border-radius;
|
||||
-moz-border-radius: @border-radius;
|
||||
border-radius: @border-radius;
|
||||
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue