Skip to Main Content
Sass and Compass in Action
book

Sass and Compass in Action

by Natalie Weizenbaum, Chris Eppstein, Brandon Mathis, Wynn Netherland
July 2013
Intermediate to advanced content levelIntermediate to advanced
240 pages
7h 5m
English
Manning Publications
Content preview from Sass and Compass in Action

Chapter 6. Spriting

This chapter covers

  • The history of and basic principles behind CSS spriting
  • Automatic spriting with Compass mixins
  • Advanced techniques for customizing sprite images and CSS output

In this chapter, we’ll look at the purpose of CSS spriting, the challenges involved, and how Compass saves you from one of the most tedious jobs in web design.

If you’ve ever manually created your own sprites before, you’re in for a treat! Spriting with Compass is remarkably easy. Compass creates the sprite maps, writes the CSS you don’t want to write, and integrates smoothly into your stylesheet workflow. But this is just the beginning. Even when you need more control over how Compass creates sprite maps and generates CSS, the process is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introducing Dart Sass: A Practical Introduction to the Replacement for Sass, Built on Dart

Introducing Dart Sass: A Practical Introduction to the Replacement for Sass, Built on Dart

Alex Libby
Mastering Sass

Mastering Sass

Luke Watts
Jump Start Sass

Jump Start Sass

Hugo Giraudel, Miriam Suzanne

Publisher Resources

ISBN: 9781617290145Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link