Modal window effects with transitions CSS3.
TypeScript CSS JavaScript
Latest commit 5cd1882 Feb 19, 2017 @dixso Corrected paths

Custombox npm version Travis Coverage Status npm License

Modal dialog effects with transitions CSS3.


You can install custombox through bower:

bower install custombox

Or through npm:

npm install custombox

Alternatively, download the package and reference the JavaScript and CSS files manually:

<script src="dist/custombox.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/custombox.min.css">

Basic usage

new Custombox.modal({
  content: {
    effect: 'fadein',
    target: '#modal'