/sweetalert

A beautiful replacement for JavaScript's "alert"

Primary LanguageCSSMIT LicenseMIT

#SweetAlert

An awesome replacement for JavaScript's alert.

See it in action!

A success modal

#Usage

You can install SweetAlert through bower:

bower install sweetalert

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

<script src="lib/sweet-alert.min.js"></script>
<link rel="stylesheet" type="text/css" href="lib/sweet-alert.css">

#SASS The css is built with the --style compressed and --sourcemap=none options:

sass --style compressed --sourcemap=none sweet-alert.scss sweet-alert.css