Book Image

LESS WEB DEVELOPMENT COOKBOOK

Book Image

LESS WEB DEVELOPMENT COOKBOOK

Overview of this book

Table of Contents (19 chapters)
Less Web Development Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating animations with animations.css


CSS3 makes it possible to animate transitions from one CSS style configuration to another. CSS animation can even replace Flash animations, animated images, and JavaScript in your projects. In this recipe, you will learn how to integrate animate.css in your Less code.

Getting ready

A cross-browser library of the CSS animations is animate.css. Download the uncompressed version of animate.css from https://github.com/daneden/animate.css. You can use your favorite text editor to create a Less version of animate.css. Test the CSS animation in your browsers using the client-side less.js compiler, as described in the Downloading, installing, and integrating less.js recipe in Chapter 1, Getting to Grips with the Basics of Less.

How to do it…

CSS animation have brought about many new things for web designers using CSS. On the other hand make vendor-prefixes coding them complex. Mixins help you to build animations fast and efficiently, as follows:

  1. Open the animate...