I downloaded less javascript file and saved it to less.js,
I want to make a circle with some custom color in less css, this is how i gave path for external stylesheet.
<!doctype html>
<html>
<head>
<link rel=\"stylesheet/less\" type=\"text/css\" href=\"styles.less\">
<script src=\"less.js\" type=\"text/javascript\"></script>
</head>
<body>
<p id=\"header\" ></p>
</body>
</html>
external stylesheet
@color:#4d926f;
#header
{
background-color:@color;
height:100px;
width:100px;
border-radius:100%;
position:absolute;
}
Now this is not working





Rating:
The post html – This less css not working appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/html-this-less-css-not-working.html
No comments:
Post a Comment