diff --git a/README.md b/README.md index 9a8a06f..5734e1d 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,5 @@ A set of useful mixins for LESS, the CSS pre-processor: More information and usage examples over at: TextMate bundle: + +License: This work is dedicated to the public domain and is free for all uses, commercial or otherwise. No credits required. \ No newline at end of file diff --git a/elements.less b/elements.less index e0a3fb5..8c373d4 100644 --- a/elements.less +++ b/elements.less @@ -54,7 +54,9 @@ -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; - -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; + -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; @@ -76,6 +78,8 @@ -khtml-opacity: @opacity; -webkit-opacity: @opacity; opacity: @opacity; + @opperc: @opacity * 100; + filter: ~"alpha(opacity=@{opperc})"; } .transition-duration(@duration: 0.2s) { -moz-transition-duration: @duration;