Metahari / Baraja

Baraja is a jQuery plugin that allows to move elements in a card-like fashion and spread them like one would spread a deck of cards on a table. It uses CSS transforms for rotating and translating the items. There are several options available that will create various spreading possibilities of the items, for example, moving the items laterally or rotating them in a fan-like way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Baraja

Baraja is a jQuery plugin that allows to move elements in a card-like fashion and spread them like one would spread a deck of cards on a table. It uses CSS transforms for rotating and translating the items. There are several options available that will create various spreading possibilities of the items, for example, moving the items laterally or rotating them in a fan-like way.

Installation

To use the plugin integrate these scripts and styles into your application

<link href="./path/to/your/css/baraja.css" rel="stylesheet">

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="./path/to/your/js/modernizr.custom.79639.js"></script>
<script src="./path/to/your/js/jquery.baraja.js"></script>

article on Codrops

demo

Licensed under the MIT License

About

Baraja is a jQuery plugin that allows to move elements in a card-like fashion and spread them like one would spread a deck of cards on a table. It uses CSS transforms for rotating and translating the items. There are several options available that will create various spreading possibilities of the items, for example, moving the items laterally or rotating them in a fan-like way.


Languages

Language:JavaScript 49.1%Language:HTML 36.1%Language:CSS 14.8%