mirror of
https://github.com/Oreolek/elements.git
synced 2024-04-29 15:39:19 +03:00
Merge pull request #5 from perfecto/patch-1
Prevent bg color from leaking outside the border
This commit is contained in:
commit
f7d31bbc65
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue