SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizable , as you can see below!
A basic message
A success message
A warning message
A info message with a function attached to the "info" button
A warning message with a function attached to the "confirm" button
And by passing a parameter, you can execute something else for "cencle".