0

Is it possible that LESS files don't work in dreamweaver CC? Because probably my syntaxt is correct, but I don't understand why my style.less file doesn't work, even with simple commands like "color: #ff0"

Elle
  • 51
  • 7

3 Answers3

0

if you want include less direct to html file you have to read this topic: Less css file include in <head> section

or you can convert .less to .css file: http://koala-app.com/ or you can use gruntJS: http://gruntjs.com/

Community
  • 1
  • 1
0

use this in head: make sure you are using rel="stylesheet/less"

  <link rel="stylesheet/less" type="text/css" href="styles.less" />

and before the html closing tag

  <script src="less.js" type="text/javascript"></script>

Source: client-side-usage

Gildas.Tambo
  • 22,173
  • 7
  • 50
  • 78
0

It's working if I put the entire project inside the "local server folder" (xampp in this case) even if I 'm using only simple html tag, .js and .less file. No php, mysql and others.

Could you tell me why of this behaviour?

Elle
  • 51
  • 7