-
Book Overview & Buying
-
Table Of Contents
LESS WEB DEVELOPMENT COOKBOOK
By :
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.
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.
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:
Open the animate...
Change the font size
Change margin width
Change background colour