Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 670 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 670 Bytes

#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