Skip to content
/ flip Public
forked from nnattawat/flip

A lightweight jQuery plugin to make 3D card flipping animation

License

Notifications You must be signed in to change notification settings

free4ride/flip

 
 

Repository files navigation

jQuery Flip v1.0.19

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

Getting Started

CDN

https://cdn.rawgit.com/nnattawat/flip/v1.0.19/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

About

A lightweight jQuery plugin to make 3D card flipping animation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.0%
  • HTML 25.4%
  • CSS 1.6%