Sha256: e3f70c8c9dec644498dd9ca397e8cd4e5b4d3d0e6d833d84a42338924417e4f8
Contents?: true
Size: 497 Bytes
Versions: 3
Compression:
Stored size: 497 Bytes
Contents
.mixin (@a: 1px, @b: 50%) { width: @a * 5; height: @b - 1%; args: @arguments; } .mixin (@a: 1px, @b: 50%) when (@b > 75%){ text-align: center; } .named-arg { color: blue; .mixin(@b: 100%); } .class { @var: 20%; .mixin(@b: @var); } .all-args-wrong-args { .mixin(@b: 10%, @a: 2px); } .mixin2 (@a: 1px, @b: 50%, @c: 50) { width: @a * 5; height: @b - 1%; color: #000000 + @c; } .named-args2 { .mixin2(3px, @c: 100); } .named-args3 { .mixin2(@b: 30%, @c: #123456); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
less-2.3.3 | lib/less/js/test/less/mixins-named-args.less |
less-2.3.2 | lib/less/js/test/less/mixins-named-args.less |
less-2.3.1 | lib/less/js/test/less/mixins-named-args.less |