Want to receive a weekly email containing
the scoop on our new titles along with the
occasional special offer? Just click the button.
(You can always unsubscribe later by editing your
account information).

Give us an email and a password (you can use the password later to log in and
change your preferences). We'll send you a newsletter roughly once a week.

Pragmatic Guide to Sass

by Hampton Catlin and Michael Lintorn Catlin

The chart shows the approximate number of words in each chapter of Pragmatic Guide to Sass per week. The latest numbers are highlighted—mouse over prior weeks to see their figures.

CSS is fundamental to the web, but it’s a basic language and lacks many features. Sass is just like CSS, but with a whole lot of extra power so you can get more done, more quickly. Build better web pages today with Pragmatic Guide to Sass. These concise, easy-to-digest tips and techniques are the shortcuts experienced CSS developers need to start developing in Sass today.

Buy Now

Select a DRM-free Format:

eBook + Paper Book
($32.00)
In Stock

Paper Book
($25.00)
In Stock

eBook
($18.00)
In Stock

Buy the eBook and get these DRM-free formats delivered immediately:

epub (for iPhone/iPad, Android, eReaders)

mobi (for Kindle)

PDF

We can automatically send them to your
Dropbox.
(You'll need to log in to enable these options.)

About this Book

128 pages

Published: 2011-12-16

Release: P1.0 (2011-12-20)

ISBN: 978-1-93435-684-5

Written by Sass creator Hampton Catlin and Michael Lintorn Catlin, Pragmatic Guide to Sass shows you how to improve your CSS, from the basics to advanced topics, from first installation to sprucing up your buttons. You’ll see how to code the right way in Sass thanks to short, clear examples. Two-page spreads show the explanation on one side and code examples on the other. You’ll learn how to improve your pages in minutes.

You’ll be able to perform amazing feats of CSS including using variables, calculating layouts, and modifying colors. Did you ever want to make a color 10% less saturated? We’ll show you how to do that without needing a calculator.

Plus, learn about Compass, Sass’s library of carefully built hacks, reusable parts, and frameworks. Find out how to shortcut cross-browser issues and develop mixins for shortening text and making lists more exciting. You’ll wonder how you spent all those years styling sites without it!

Make things even easier with Blueprint, and discover how to use its predefined classes that you can apply to your Web site. From selector scoping to bundling, debugging, and designing custom functions, Pragmatic Guide to Sass will help you build the pages you’ve always wanted.

About the Author

Hampton Catlin is the inventor of Sass, a CSS generating language, and the Haml markup language. He is the original creator of Wikipedia Mobile (m.wikipedia.org) and is also the creator of several successful iPhone applications including Dictionary!

Michael Lintorn Catlin is a Biologist and PhD dropout. He holds one masters from the University of Oxford in biochemistry and another masters from the University of Cambridge in developmental biology.

Comments and Reviews

Packed with plenty of code examples, this is a primer that shouldn’t be missed.

Pragmatic Guide to Sass is a snappy little book that effectively hits you with
the right dose of Sass magic to either pick up Sass as a newcomer or give
you a refresher if you’re already using it. The guide is written in a style
that’s both a tutorial and a reference at the same time, and it’ll be a handy
go-to book for anyone working with Sass, whether on a daily basis or only
on rare occasions. It gets two thumbs-up from me.

—Peter CooperEditor"Ruby Inside" and "HTML5 Weekly"

Sass is the best way to write maintainable CSS. This Pragmatic guide will
get you up to speed on Sass’s most powerful features, including nesting,
variables, and mixins—an invaluable reference.

—Sam StephensonCreator of Sprockets and the Rails asset pipeline

Michael and Hampton, in Pragmatic Guide to Sass, have put together the
most comprehensive and thought-out guide to Sass to date. No matter
what server-side technology you use, Sass can be used in anyone’s development
stack to help organize your CSS. Pragmatic Guide to Sass shows
you the best practices in DRYing up your CSS with the power of Sass. It
teaches you how to become a CSS heavyweight without the bloated CSS.
This book should be on every web developer’s shelf (and e-reader).

—Andrew Chalkleytechnical writer, Screencasts.org

Chock-full of unexpected goodies such as extras on Compass and Haml,
Pragmatic Guide to Sass is hands-down the best Sass resource printed to
date—a must-read for web developers and smart designers.