Merge pull request #5 from perfecto/patch-1

Prevent bg color from leaking outside the border
This commit is contained in:
Dmitry Fadeyev 2011-09-26 07:05:31 -07:00
commit f7d31bbc65
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.border-radius(@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) {
-webkit-border-top-right-radius: @topright;
@ -68,6 +69,7 @@
border-bottom-right-radius: @bottomright;
border-bottom-left-radius: @bottomleft;
border-top-left-radius: @topleft;
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.opacity(@opacity: 0.5) {
-moz-opacity: @opacity;