Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ninjasort/jquery-flipper

CSS3 card flip effect.
https://github.com/ninjasort/jquery-flipper

animation jquery

Last synced: about 17 hours ago
JSON representation

CSS3 card flip effect.

Awesome Lists containing this project

README

        

# jQuery Flipper

A simple way to add a CSS3 flip effect to your content.

## Installation

```
$ bower install jquery-flipper --save
```

In your web page:

```html

jQuery Flipper









$('#myFlipper').flipper({
rotationType: 'left-slide',
depth: 1000,
speed: 0.2
});

```

## Options
You can also pass flipper options.

- rotationType [string] the type of rotation (left, right, up, down, left-slide, right-slide)

- event [string, object] this event to bind to
- “hover”
- “click”
- {type: “keydown”, keyCode: 13}

- depth [number] the perspective applied to the element rotation (100 - 1000)

- speed [number] the speed of the rotation (0.1 - 2.0)

## Examples

View the demo [here](http://cameronjroe.github.io/jquery-flipper) or in the demo directory.