/midway

simplified responsive elements centering

Primary LanguageJavaScriptMIT LicenseMIT

midway

simplified responsive elements centering

Originally inspired by Brandon Jacoby

Rewritten natively by Fabian de Laender

Usage

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>midway example</title>
  <script type="text/javascript" src="midway.min.js"></script>
</head>
<body>
  <div class="midway-horizontal midway-vertical"></div>
</body>
</html>

Changelog

v1.0.1
  • Minor changes
v1.0.0
  • First version