--- title: Centered Block layout: class class: .center-block slug: center-block category: classes top-category: Javascript category-slug: helpers description: 'Centers any element (Sets an element to display:block with margin-right:auto and margin-left:auto)' chained-class: '-' parent-class: '-' element: '*' tags: - bootstrap - Javascript ---