🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Center Me is a very small jQuery plugin that vertically and horizontal centers any element to make it always stay in the center of the page.

centering

Documentation

center-me for Angular v 1.0

Angular.js

Have you ever wanted to center a element regardless of the width or height. For example you have have a dynamic element with width and height that changes over time. You need it stay centered no matter what. Try my Angular.js directive 'center-me' its as easy as 1,2, center-me

###How to use center me.

Angular compatibility 1.2 to 1.5x

Add center-me to your App

var yourApp	= angular.module('yourApp', ['CenterMeDirective']); 

Add center-me to your element

<div center-me> 	Put anything you want here it will get centered I promise lol </div> 

jQuery

center-me for jQuery v 1.0

jQuery plug-in is under construction is should still work


You May Also Like