官术网_书友最值得收藏!

Chapter 2. Building a Less Development Toolkit

We've covered the principles behind Less, and saw how it can help reduce the effort required to manage style sheets with the use of variables, functions, and mixins. We're almost ready to start coding, but before we can do so, there's one small thing missing—we need some tools!

You might wonder whether there is a need for more tools, given that CSS is just plain text and that we don't need anything to edit plain text files, right? Well, plain text editors will work, but as we'll see in this chapter, there are tools available that include support for Less in order to help make editing files easier.

Throughout this chapter, we will look at a selection of tools that you may find useful for working with Less; we will install a selection that will be used for the purposes of the exercises throughout this book, although you can always pick and choose the packages you prefer to use.

In this chapter, we will cover the following topics:

  • Choosing and installing an editor to work with Less files
  • Watching out for changes to Less files
  • Debugging in browsers
  • Tools for compiling the Less code
  • Automating the development using tools such as Node and Grunt

Note

The software that we install in this chapter will be for Windows, as this is the author's preferred development platform; comments will be added to indicate whether alternatives for Apple Mac or Linux are available.

主站蜘蛛池模板: 都安| 西城区| 上高县| 长子县| 巩义市| 娄底市| 神农架林区| 四平市| 平度市| 土默特左旗| 黑山县| 克拉玛依市| 八宿县| 云阳县| 金阳县| 百色市| 昌乐县| 临城县| 吉水县| 大港区| 于田县| 晋江市| 镇安县| 海盐县| 绥宁县| 中西区| 吉林省| 鹤壁市| 新平| 远安县| 桃园县| 北安市| 德安县| 阳城县| 遂昌县| 横峰县| 广丰县| 仙居县| 冀州市| 阜新市| 子洲县|