Sha256: d0810cc9faf4a3d4ab6ea1f87464407bad833e408e8f0240b55b98026d17741d

Contents?: true

Size: 711 Bytes

Versions: 9

Compression:

Stored size: 711 Bytes

Contents

@a: 2;
@x: @a * @a;
@y: @x + 1;
@z: @x * 2 + @y;

.variables {
  width: @z + 1cm; // 14cm
}

@b: @a * 10;
@c: #888;

@fonts: "Trebuchet MS", Verdana, sans-serif;
@f: @fonts;

@quotes: "~" "~";
@q: @quotes;

.variables {
  height: @b + @x + 0px; // 24px
  color: @c;
  font-family: @f;
  quotes: @q;
}

.redefinition {
    @var: 4;
    @var: 2;
    @var: 3;
    three: @var;
}

.values {
    @a: 'Trebuchet';
    @multi: 'A', B, C;
    font-family: @a, @a, @a;
    color: @c !important;
    url: url(@a);
    multi: something @multi, @a;
}

.variable-names {
    @var: 'hello';
    @name: 'var';
    name: @@name;
}
.alpha {
    @var: 42;
    filter: alpha(opacity=@var);
}

a:nth-child(@a) {
    border: 1px;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
less-2.3.0 lib/less/js/test/less/variables.less
less-2.2.2 lib/less/js/test/less/variables.less
less-2.2.1 lib/less/js/test/less/variables.less
less-2.2.0 lib/less/js/test/less/variables.less
less-2.1.0 lib/less/js/test/less/variables.less
less-2.0.12 lib/less/js/test/less/variables.less
less-2.0.11 lib/less/js/test/less/variables.less
less-2.0.10 lib/less/js/test/less/variables.less
less-2.0.9 lib/less/js/test/less/variables.less