Sha256: 9ba1e4980f6a3b4fe15d594046e5f23f7a8df6eedc340e608e2889ef56b0a18a

Contents?: true

Size: 1012 Bytes

Versions: 4

Compression:

Stored size: 1012 Bytes

Contents

#strings {
  background-image: url("http://son-of-a-banana.com");
  quotes: "~" "~";
  content: "#*%:&^,)!.(~*})";
  empty: "";
  brackets: "{" "}";
  escapes: "\"hello\" \\world";
  escapes2: "\"llo";
}
#comments {
  content: "/* hello */ // not-so-secret";
}
#single-quote {
  quotes: "'" "'";
  content: '""#!&""';
  empty: '';
  semi-colon: ';';
}
#escaped {
  filter: ~"DX.Transform.MS.BS.filter(opacity=50)";
}
#one-line { image: url(http://tooks.com) }
#crazy { image: url(http://), "}", url("http://}") }
#interpolation {
  @var: '/dev';
  url: "http://lesscss.org@{var}/image.jpg";

  @var2: 256;
  url2: "http://lesscss.org/image-@{var2}.jpg";

  @var3: #456;
  url3: "http://lesscss.org@{var3}";

  @var4: hello;
  url4: "http://lesscss.org/@{var4}";

  @var5: 54.4px;
  url5: "http://lesscss.org/@{var5}";
}

// multiple calls with string interpolation

.mix-mul (@a: green) {
    color: ~"@{a}";
}
.mix-mul-class {
    .mix-mul(blue);
    .mix-mul(red);
    .mix-mul(black);
    .mix-mul(orange);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
less-2.4.0 lib/less/js/test/less/strings.less
less-2.3.3 lib/less/js/test/less/strings.less
less-2.3.2 lib/less/js/test/less/strings.less
less-2.3.1 lib/less/js/test/less/strings.less