hyperlink - LESS stylesheet not registering -
is there trick less? can't of function in-browser. maybe i'm declaring stylesheet in browser wrong? it's literally not showing at all. i've included min , less files in same folder, make sure it's not directory issue. here html:
<!doctype html>
<head> <meta charset="utf-8"/> <meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>jessica colding</title> <link rel="stylesheet/less" type="text/less" href="style.less"/> <script src="less-1.3.3.min.js" type="text/javascript"></script> <!--[if lt ie 9]> <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body lang="en"> <div id="container"> hello</div> </body>
if running directly file, should change url script include http:
(protocol-less won't work local files).
this makes sense, if think it, because you're not accessing file via http, , protocol-less reference tells browser use same protocol did page.
edit: troubleshooting approach display error console. can shed light on problems such one.
Comments
Post a Comment