This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Enquire Test</title> | |
<meta name="viewport" content="width=device-width"> | |
<!-- Normalize CSS --> | |
<link rel="stylesheet" src="http://normalize-css.googlecode.com/svn/trunk/normalize.css"/> | |
<!-- Bootstrap CSS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Alexandre Magno | |
* @desc Center a element with jQuery | |
* @version 1.0 | |
* @example | |
* $("element").center({ | |
* | |
* vertical: true, | |
* horizontal: true | |
* |