Skip to content

Instantly share code, notes, and snippets.

View mayankbpatel's full-sized avatar

Mayank Patel mayankbpatel

View GitHub Profile
<div id="cat_daddy_example" data-flipr-container data-flip-on-hover>
<div data-flipr-front> Cat Daddy </div>
<div data-flipr-back> YouTube Video Goes Here </div>
</div>
<button data-flip-on-click="#bicycle_ghost_card">Click to Flip</button>
$(document).ready(function() {
var flipr = new Flipr.Effect();
flipr.applyTo('body');
});
<div id="bicycle_ghost_card" data-flipr-container>
<div id="bicycle_card_front" data-flipr-front></div>
<div id="bicycle_card_back" data-flipr-back></div>
</div>