mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
alpha.js init
This commit is contained in:
8
lib/less/node/alpha.js
Normal file
8
lib/less/node/alpha.js
Normal file
@@ -0,0 +1,8 @@
|
||||
node.Alpha = function URL(val) {
|
||||
this.value = val;
|
||||
};
|
||||
node.Alpha.prototype = {
|
||||
toCSS: function () {
|
||||
return "alpha(opacity=" + this.value.toCSS ? this.value.toCSS() : this.value + ")";
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user