GitHub - dixso/custombox: Modal window effects with transitions CSS3.

Skip to content

Navigation Menu

Sign in

Appearance settings

Modal dialog effects with transitions CSS3.

Usage

You can install custombox through bower:

Or through npm:

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

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

Optional legacy file for along for the older browsers.

<script src="custombox.legacy.min.js"></script>

Basic usage

new Custombox.modal({
  content: {
    effect: 'fadein',
    target: '#modal'
  }
}).open();