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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Bourbon mixins for prefixing


The Bourbon mixin library for Sass helps you to code faster without vendor prefixes. This recipe will show you how to use this library. This recipe will show you how to use Bourbon to create CSS animations. These animations make it possible to animate transitions from one CSS style configuration to another. Animations consist of two components: a style describing the CSS animation, and a set of keyframes that indicate the start and end states of the animation's style, as well as possible intermediate waypoints. The W3C CSS specifications for CSS animations has not stabilized till now, so you will have to use vendor prefixes for full browser support. Also, read the Using vendor prefixes recipe of Chapter 7, Cross Browser CSS3 Mixins to understand why vendor prefixes are needed.

Getting ready

You will have to install Bourbon. You can use the Bourbon Ruby gem as described here; alternatively, you can download the SCSS from GitHub. Using Ruby gems also requires having...