by
0 31
0
6
3,537
0
Top 1% !
Popular
Famous
Tagged
Specified
Refined
Popularity: 3566th place
This snippet is Public
Architecturex86_64
BrowserChrome
Chrome Version25.0.1364.152
LanguageLESS
LicenseMIT_X11
OSWindows
Windows VersionWindows8

Set a variable in LESS

How to set a variable in LESS CSS Preprocessor
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/898/Set-a-variable-in-LESS?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
/* -- .less -- */ @color: #efefef; body {background: @color;} /* -- resulting css -- */ body {background: #efefef;}
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus