extends ../../layouts/LayoutComponent include ../../mixins/utilities/Position append variables - var pageHeader = { title: 'Position', description: 'Use these shorthand utilities for quickly configuring the position of an element.', url: `https://getbootstrap.com/docs/${bootstrapVersion}/utilities/position/`, linkText: 'Position on Bootstrap' } append content +PageHeader(pageHeader) .card.mb-3 .card-header +DocCardHeader('Common values') +PositionCommonValuesDescription .card-body.bg-body-tertiary +PositionDemo +ComponentCard({ title: 'Arrange Elements', anchor: true, description: `Arrange elements easily with the edge positioning utilities. The format is {property}-{position}. has special utility class .all-0 to give full height/width to child element of parent element.`, descriptionClass: '.mt-2.mb-0' }).mb-3 +PositionArrangeElementsDemo +ComponentCard({ title: 'Center Elements', anchor: true, description: `In addition, you can also center the elements with the transform utility classes .translate-middle, .translate-middle-x , .translate-middle-y. Responsive variations also exist for transform-middle, For example: transform-{xxl|xl|lg|md|sm}-middle-{x|y}.`, descriptionClass: '.mt-2.mb-0' }) +PositionCenterElementsDemo