-
Book Overview & Buying
-
Table Of Contents
Less Web Development Essentials (Second Edition)
By :
In the previous chapters, you learned how to use Less to compile your CSS code. Less helps you create a reusable and maintainable CSS code. You learned how to organize your files, and the preceding chapter also showed you the role of namespaces to make your code portable. Less helps you write efficient code to handle browser incompatibility. It doesn't solve problems with browser incompatibility on its own, but makes your solutions reusable, although the reusable mixins can still be complex for this reason. In this chapter, you will learn that you don't have to write all this complex code yourself. There are some libraries of prebuilt mixins out there that can help you work faster and create more stable code.
In this book, it's argued that using the autoprefixer to prefix your code will be best practice. As already mentioned, the autoprefixer adds neither nonstandard code nor polyfills to your CSS code...
Change the font size
Change margin width
Change background colour