O'Reilly logo

Pragmatic Guide to Sass by Michael Lintorn Catlin, Hampton Catlin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

18Debugging

What if there’s a bug in our code? It happens to the best of us. We can generally say that there are two kinds of bugs we can encounter. One is a syntactical error made while writing the Sass—that is, we may have passed in the wrong number of arguments to a function. Luckily, Sass makes finding these mistakes a breeze. The Sass development team has worked really hard to make sure that the error messages make as much sense as possible.

On top of that, if you have an error in your Sass code, it won’t just keep quiet. Sass could have failed silently, where you would reload the page you are styling and all of a sudden it would be unstyled. Sass doesn’t play that way. Sass loves you! Sass will generate a special CSS style sheet that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required