A lightweight jQuery plugin to create 3d flip animation. Learn more on github.io
Download the production version or the development version.
or install using bower
bower install flip
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>
Please refer to github.io
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