Can someone please explain this variable example on the Less.org documentation:
It is also possible to define variables with a variable name:
@fnord: "I am fnord.";
@var: 'fnord';
content: @@var;
Which compiles to:
content: "I am fnord.";
The part that confuses me is the double @.
Thanks.
This statement explain itself
So:
content: @@var;is actuallycontent: @fnord;which iscontent: "I am fnord.";NOTE: You can consider
@@as a pointer notation@as a variable