![]() Once you have created your file, save it and click CTRL + B and you should see a CSS file created within the same folder as your LESS file. You are now able to write LESS code by creating a new file with the. Go into the LESS-build folder and double-click on changeLESSBuildType.bat if you're on Windows and changeLESSBuildType.sh if you're on Linux or OS X. This will bring up an Explorer window with your Sublime Text 2 installed packages.Search for LESS-build and hit Enter to install the package by Berfarah.This provides syntax highlighting for LESS in Sublime. Search for LESS and hit Enter to install the package by Danro which is just called LESS.Launch Package Control CTRL + SHIFT + P.This project assumes you have Sublime Text 2 installed on your machine. There are a few online tools that can do this for you but here I will explain how to compile your LESS code into CSS within Sublime Text 2. ![]() The one thing that you have to remember with CSS Preprocessors is that they have to be compiled before you can deploy them. In this article, I'll explain how I implemented LESS into my workflow with Sublime Text 2. There are pros and cons for both but it will boil down to the type of project you do and the way you code. It becomes a personal decision which one you go for. I have only started to use CSS Preprocessors after doing research on both of these methods. The two most popular CSS Preprocessors are LESS and SASS/SCSS. ![]() UPDATE: I now use SASS/SCSS as my preferred CSS preprocessorĬSS Preprocessors are a dynamic and efficient way of coding your stylesheets with reusability and structure. LESS CSS Workflow in Sublime Text 2 3 minute read 00000 views
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |