Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
test1.less
/* LESS */
@brand_color: #4D926F;
@other_color: rgb(166,255,122);
.common-rules{
border:1px solid silver;
}
.font-rules{
font-family:'Trebuchet MS','Verdana',sans-serif;
}
body{
background-color: darkgray;
.font-rules;
}
pre{
.font-rules;
background-color: gray;
color: gainsboro;
padding:1em;
}
#header {
.common-rules;
background-color: @brand_color;
color: @other_color;
}
h2 {
.common-rules ;
color: @brand_color;
background-color: gainsboro;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment