mirror of
https://github.com/less/less.js.git
synced 2026-02-08 22:15:04 -05:00
9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
node.Alpha = function URL(val) {
|
|
this.value = val;
|
|
};
|
|
node.Alpha.prototype = {
|
|
toCSS: function () {
|
|
return "alpha(opacity=" + this.value.toCSS ? this.value.toCSS() : this.value + ")";
|
|
}
|
|
};
|