Skip to content

Instantly share code, notes, and snippets.

@vestel
Created February 22, 2012 14:28
Show Gist options
  • Save vestel/1885343 to your computer and use it in GitHub Desktop.
Save vestel/1885343 to your computer and use it in GitHub Desktop.
LESS example
<html>
<head>
<title>Test something</title>
<link rel="stylesheet/less" type="text/css" href="test_style.less">
<script src="http://lesscss.googlecode.com/files/less-1.2.1.min.js" type="text/javascript"></script>
</head>
<body>
<h2> This header is green because of less color syntax </h2>
<p class="redone">Test</p>
</body>
</html>
@redcolor: #4D926f;
.redone { color: @redcolor; }
h2 { color: @redcolor; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment