added license, added filter alpha in opacity for IE
This commit is contained in:
parent
ebdcd8ca09
commit
0f6f6f3b95
2 changed files with 7 additions and 1 deletions
|
@ -6,3 +6,5 @@ A set of useful mixins for LESS, the CSS pre-processor: <http://lesscss.org>
|
|||
More information and usage examples over at: <http://lesselements.com>
|
||||
|
||||
TextMate bundle: <https://github.com/juanghurtado/less-elements.tmbundle>
|
||||
|
||||
License: This work is dedicated to the public domain and is free for all uses, commercial or otherwise. No credits required.
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue