Intermediate

Intermediate Guides & Tutorials on Sass and Compass

Aleksandar Goševski

Spriting with Sass and Compass

Learn how to use the image spriting features of Compass to improve page download time and drastically reduce the effort needed to assemble sprite sheets.  Read more…

Chris Michel

Share your Sass with Sache: A quick guide

Have you ever created a Sass library and wanted an easy way to share it with others? Or have you ever wondered where to look to find a Sass library to do something specific? In this article Chris Michel introduces us to Sache—an easy to use directory of Sass libraries and tools—and shows us how to easily add our own projects.  Read more…

Daniel Imms

Understanding placeholder selectors

Sass provides us with a number of helpful tools to share code between CSS rules. In this article, I’ll talk about a relatively new feature in Sass called placeholder selectors. We’ll look at how to use this feature correctly, cover some problems that may occur, and examine how it differs from other approaches.  Read more…

John W. Long

Mixins for semi-transparent colors

Learn how to use Sass color functions to calculate backwards compatible colors for browsers that don’t support alpha transparency and wrap up this functionality in a couple of handy mixins.  Read more…

John W. Long

Avoid nested selectors for more modular CSS

We’ve written before about the dangers of nesting your CSS selectors too deeply. The Inception Rule is a good one for getting you to avoid some mangled CSS selectors. But there’s actually a lot of benefit to taking this concept a couple of steps farther. What happens when you avoid nesting for almost all of your major selectors?  Read more…

Mason Wendell

Responsive Web Design in Sass: Using media queries in Sass 3.2

Sass 3.2 is on the way, and there are many improvements to how it handles media queries. Let’s get a jump start on all the new stuff and see how we can use media queries, which are now a first-class citizen, in Sass 3.2.  Read more…

John W. Long

A standard module definition for Sass

One part suggestion to the Sass community to adopt a standard way of structuring Sass modules and one part show and tell. John attempts to leverage his knowledge of large Sass projects to suggest a format for a Standard Module Definition for Sass.  Read more…

Mason Wendell

Responsive Web Design in Sass Part 2: Media queries in Sass

In part one we talked about how Sass can help with fluid layouts and images. Now we’ll turn our attention to the new kid in town. Media queries are the tool that takes a design from fluid to truly responsive.  Read more…

John W. Long

Interactive Sass: having fun on the terminal

Most people who use Sass are familiar to some degree with the command line. While programs like Compass.app and Scout.app are making it easier to use Sass and Compass without using the command line, hidden gems await those who are willing to do so.  Read more…

Mason Wendell

Responsive Web Design in Sass Part 1: Fluid layouts and fluid images

Responsive Web Design is the new wave, right? In this two part series we’ll explore the principles, and talk about how Sass can help. In part one we dive into how Sass can help with the calculations behind fluid layouts and images.  Read more…

Adam Stacoviak

Sass control directives: @if, @for, @each and @while

Sass control directives are the cornerstone of creating libraries for reuse and distribution, and need to be among the very first items on your list of things to learn when taking your Sass skills to the next level. They provide flow and logic and give you a finite level of decision making required by mixins and functions.  Read more…

John W. Long

Leveraging Sass mixins for cleaner code

Without question, one of the most powerful and valuable features of Sass is the ability to package up existing code into reusable chunks of code called mixinsRead more…

Adam Stacoviak

Referencing parent selectors using the ampersand character

Referencing parent selectors by using the ampersand (&) can be a powerful tool, if used right. There are simple uses of this feature as well as some very complex uses of this feature. In this post we will cover the basic uses of the ampersand (&) as well as link you to a post by Joel Oliveira that goes much deeper on the subject.  Read more…