O'Reilly logo

Sass and Compass in Action by Wynn Netherland, Nathan Weizenbaum, Chris Eppstein, and Brandon Mathis

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

Chapter 4. Eliminate the mundane using Compass

This chapter covers

  • Using Compass to reset default browser styles
  • Compass helpers for better typography in your stylesheets
  • Using Compass to create sticky footers, style tables, and floats

Now that we’ve taken a first pass at Sass syntax and looked at how Compass fits into your stylesheet workflow, let’s dive deeper. In this chapter, we’ll look at some everyday easy, yet mundane (read: not fun), tasks and how Compass can save you time and effort while taking advantage of community-vetted approaches. If you haven’t made the jump to dynamic stylesheets and are still writing CSS by hand, you know that certain stylesheet tasks seem like death by a thousand paper cuts. Things like providing a CSS ...

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