Sha256: cf0acb64b7a0cf3dcc08486534f7272584a54ba78801e169735b11df19c1bb9c
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
.first-transform() { transform+: rotate(90deg), skew(30deg); } .second-transform() { transform+: scale(2,4); } .third-transform() { transform: scaleX(45deg); } .fourth-transform() { transform+: scaleX(45deg); } .fifth-transform() { transform+: scale(2,4) !important; } .first-background() { background+: url(data://img1.png); } .second-background() { background+: url(data://img2.png); } .test1 { // Can merge values .first-transform(); .second-transform(); } .test2 { // Wont merge values without +: merge directive, for backwards compatibility with css .first-transform(); .third-transform(); } .test3 { // Wont merge values from two sources with different properties .fourth-transform(); .first-background(); } .test4 { // Wont merge values from sources that merked as !important, for backwards compatibility with css .first-transform(); .fifth-transform(); } .test5 { // Wont merge values from mixins that merked as !important, for backwards compatibility with css .first-transform(); .second-transform() !important; } .test6 { // Ignores !merge if no peers found .second-transform(); } .test-interleaved { transform+: t1; background+: b1; transform+: t2; background+: b2, b3; transform+: t3; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
less-2.5.1 | lib/less/js/test/less/merge.less |
less-2.5.0 | lib/less/js/test/less/merge.less |