Chapter 13. Code Optimization

This chapter is about building code and the processes that are related to every step of creating the code in general. There are a few general stages of this process and we will study how we can optimize code at each of these steps.

In this chapter, we will cover the following topics:

  • Code optimization at each step of creation
  • How to keep code in your repository
  • How to optimize SASS code
  • How to use short forms in CSS/SASS code
  • How to prepare code for production

Self-optimization

The optimization process starts when you start writing code. Awareness of what you can optimize and how it should appear during writing a code is essential. After the writing process, when you start optimization, it can be pretty hard to refactor and ...

Get Professional CSS3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.