Skip to content

Instantly share code, notes, and snippets.

@pythdasch
Created December 9, 2014 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pythdasch/3133b977c1757b6af0ea to your computer and use it in GitHub Desktop.
Save pythdasch/3133b977c1757b6af0ea to your computer and use it in GitHub Desktop.
html css less
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<p class="box">Other content.</p>
<script src="js/less.js" type="text/javascript" charset="utf-8" async defer></script>
</body>
</html>
##### styles.css
lessc: ENOENT, open '/Users/david/Sites/tests/less/css/styles.less'
@nice-blue: #5B83AD;
p.box {
width: 300px;
border: solid 1px white;
background:@nice-blue;
padding: 20px;
}
p.box:before {
content: "#";
border: solid 1px white;
padding: 2px;
margin: 0 10px 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment