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

https://github.com/codenameyau/flip.js

:package: Flip cards with minimal effort
https://github.com/codenameyau/flip.js

Last synced: about 1 year ago
JSON representation

:package: Flip cards with minimal effort

Awesome Lists containing this project

README

          

# flip.js

The goal of this library is to provide a customizable interface to flip HTML elements
while obfuscating the need for JavaScript. Customizations are done through HTML and CSS.

### Live Demo
http://codenameyau.github.io/flip.js/

## Installation

#### Bower
```
bower install flip.js --save
```

#### Manual
Copy the files in [build](https://github.com/codenameyau/flip.js/tree/master/build) to your assets folder.

Then add the following resources to your HTML.

```html

```

## Basic Usage

Please see the [example here](https://github.com/codenameyau/flip.js/tree/master/public/index.html).

```html




Front




Back





```

#### Styling
Styling your cards is as simple as adding and overriding your own css rules.

#### Flip Direction
Change the `data-flip` attribute to control the flip direction:

```html
data-flip="left"
data-flip="right"
data-flip="up"
data-flip="down"
```

## Contributing
Welcome! Some future goals for this library include adding
click event support and mobile support. There are a few opened
issues under the Alpha Release milestone.

Please work with the example in `public/` and leave `src/` and `build/` untouched.
Those two directories are autogenerated with gulp.