sp-codes.de/bower_components/flip
2016-11-23 00:07:57 +01:00
..
demo adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
dist adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
src adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
.bower.json adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
.bowerrc adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
.gitignore adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
.jshintrc adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
.travis.yml adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
bower.json adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
CONTRIBUTING.md adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
Gruntfile.js adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
LICENSE adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
package.json adoption to design of sp-magic 2016-11-23 00:07:57 +01:00
README.md adoption to design of sp-magic 2016-11-23 00:07:57 +01:00

Build Status

jQuery Flip

A lightweight jQuery plugin to create 3d flip animation. See the project page

Getting Started

CDN

https://cdn.rawgit.com/nnattawat/flip/master/dist/jquery.flip.min.js

Download

Bower

bower install flip

Usage

In your web page:


<div id="card"> 
  <div class="front"> 
    Front content
  </div> 
  <div class="back">
    Back content
  </div> 
</div>

<script src="jquery.js"></script>
<script src="jquery.flip.js"></script>
<script>
$(function($) {
  $("#card").flip(); 
});
</script>

Documentation and Example

Please refer to the project website

Development

Ensure that you have the latest Node.js and npm installed.

Test that Grunt's CLI and Bower are installed by running grunt --version and bower --version. If the commands aren't found, run npm install -g grunt-cli bower. For more information about installing the tools, see the getting started with Grunt guide or bower.io respectively.

To run the demo locally, do the following.

npm install
bower install

And run grunt command to create files in /dist folder.

grunt

What's new

Please refer to the release page