When using LESS, it is important to remember to import them into the html pages using this format:
<link rel="stylesheet/less" type="text/css" href="styles.less">
I did not realize this, and instead I used the standard CSS base of
<link rel="stylesheet" type="text/css" href="styles.css">
and just changed the href file name. This, apparently is a big no-no, and is easy to forget about.
Secondly, as I was coding my LESS files, I became rather frustrated with not being able to recognize errors because of the lack of syntax highlighting (my IDE is Eclipse). It is difficult to read code when it is all one color, not to mention a strain on the eyes when yours is fluorescent green against a black background like mines. I decided to try and find a sort of plugin or editor that includes syntax highlighting support for LESS, and stumbled upon this plugin for Eclipse. Unfortunately, as of now I have not been able to get it to work properly, but hopefully this is to be resolved soon.
So as far as actual progress being made... truthfully it's not much.. yet. But as soon as I get all the preliminary environments set up properly, I can really get to the meat of the issue, which is to fix up all the pages (and hopefully with responsiveness too!). There's lots of work to be done, but thankfully the basic components of Twitter Bootstrap and LESS are extremely easy to use.
No comments:
Post a Comment