In this chapter, we have learned how important it is to understand partial files for easy compartmentalization of code. We now also understand the various ways we can comment code, enabling us to write more legible and maintainable Sass files that are easier for us and others to work with.
We also now understand the mechanics of the config.rb
file—how we can use it to alter output styles, output comments to aid debugging, and alter the paths for the output CSS.
I think we have covered all the essential groundwork now. Hopefully you are feeling like Daniel-san from Karate Kid*—the essentials have bedded in and it's now time to start with the good stuff.
In the next chapter, we are going to learn and master the workhorse tools of writing Sass: nesting, placeholders, @extend
, and mixins. The "wow" stuff starts here.