Center responsive elements with a class, horizontally and vertically.
Download the plugin and include the script in your web page:
Use the class "upCenterV" to center vertically, and "upCenterH" to center horizontally your elements.
You can use the class on any html elements such as images, text or videos.
<div> <a class="upCenterV upCenterH">In the middle !</a> </div>
Install it via npm :
npm install upcenter
Download this plugin, the zip folder contain the script files and additional components.
upCenter.js is licensed under The MIT License (MIT) This license is also supplied with the release and source code. As stated in the license, absolutely no warranty is provided. For more infos, this license goes with the zipped folder. Feel free to download and make it better.