0%

Hey! Do you have any query related to front end?

Sign in Sign up

Centralize your contentBack

How to call:

Many times it has been asked, how to dynamically position our content inside its parent. So accordingly this plugin has been created to solve such problem. This is quiet simple to use. Only you will have to call "centralize()" function for the container, whose content you want to keep in center. There is an option to keep content at left, right, top or bottom too. This plugin will keep your content as appropriate position during resizing window too.

Add this plugin


And call its function.

$('.setLeft .collumn').centralize({
	pos : 'left' // Center from left
});
$('.setRight .collumn').centralize({
	pos : 'right' // Center from right
});
$('.setTop .collumn').centralize({
	pos : 'top' // Center from top
});
$('.setBottom .collumn').centralize({
	pos : 'bottom' // Center from bottom
});
$('.setAllSide .collumn').centralize(); //// Center from allside

How to comment:

  • Create an account in discuss by clicking on login next to arrow.
  • Create password for discuss and varify your email id, through your mail.
  • Refresh page and comment.

You might also like

  • Tab 2 accordion responsive plugin

    Plugin that changes tabs to accordion

    • 400
    • 12
    • 400
    • facebook icon
    • twitter icon
    • google plus
  • Pure css3 accordion

    A pure css3 accordion which has been created by target pseudo selector.

    • 449
    • 21
    • 449
    • facebook icon
    • twitter icon
    • google plus
  • Characters limit in textarea

    Limit charecters in textarea without extra space.

    • 324
    • 5
    • 324
    • facebook icon
    • twitter icon
    • google plus

Latest quries posted

gopa kumarabout 4 years ago

amit singhabout 4 years ago

rahmat aliabout 4 years ago

mandavi tiwariabout 4 years ago

rahul sharmaabout 4 years ago

Ask question
Latest video
Learn Angular
Profile pic
Guest Back
Username
Password