Chapter 4. Avoid Reinventing the Wheel
In the preceding chapters, you learned how to use Less to compile your CSS. Less helps you create reusable and maintainable CSS code. You have learned how to organize your files and the previous chapter also showed you the role of namespaces to make your code portable. Less helps you write efficient code to handle browser incompatibility. Less 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 won't have to write all this complex code yourself. There are some libraries of prebuilt mixins out there which can help you work faster and create more stable code.
This chapter will cover the following topics:
Background gradients
Preventing unused code
Testing your code
The iconic fonts of prebuilt mixins
Retina.js