Book Image

Sass and Compass Designer's Cookbook

By : Bass Jobsen, Stuart Robson
Book Image

Sass and Compass Designer's Cookbook

By: Bass Jobsen, Stuart Robson

Overview of this book

Sass and Compass Designer's Cookbook helps you to get most out of CSS3 and harness its benefits to create engaging and receptive applications. This book will help you develop faster and reduce the maintenance time for your web development projects by using Sass and Compass. You will learn how to use with CSS frameworks such as Bootstrap and Foundation and understand how to use other libraries of pre-built mixins. You will also learn setting up a development environment with Gulp. This book guides you through all the concepts and gives you practical examples for full understanding.
Table of Contents (23 chapters)
Sass and Compass Designer's Cookbook
About the Author
About the Reviewers

Tuning vendor prefixes from Compass stylesheets

Vendor-specific rules provide us with early implementations of standard properties and alternative syntaxes. These rules allow browsers to implement proprietary CSS properties that would otherwise have no working standards (and may never actually become standardized). Which vendor prefixes you will have to add depends on the browsers you have to support. In this recipe, you will learn how to configure Compass cross-browser support.

Since CSS3, you can give any block level element rounded corners without using images by using the border-radius property. The border-radius property should be prefixed for the best possible browser support. Compass can automatically add the right prefixes for you.

Getting ready

Of course, you will have to install Compass for this recipe. So, read the Installing Compass recipe of Chapter 1, Getting Started with Sass, to find out how to install Compass. Also, read Chapter 7, Cross-Browser CSS3 Mixins, of this book to...