extends ../../../layouts/LayoutComponent include ../../../mixins/components/Images append variables - var pageHeader = { title: 'Images', description: 'Documentation and examples for opting images into responsive behavior (so they never become larger than their parent elements) and add lightweight styles to them—all via classes.', url: `https://getbootstrap.com/docs/${bootstrapVersion}/content/images/`, linkText: 'Images on Bootstrap' } block component +PageHeader(pageHeader) +ComponentCard({ title: 'Responsive images', anchor: true, description:"Images in Bootstrap are made responsive with .img-fluid This applies max-width: 100%; and height: auto; to the image so that it scales with the parent element.", descriptionClass:'mt-2 mb-0', bodyClass:'bg-body-tertiary overflow-hidden' }).mb-3 +ResponsiveImageDemo +ComponentCard({ title: 'Image thumbnails', anchor: true, description:`In addition to our border-radius utilities, you can use .img-thumbnail to give an image a rounded 1px border appearance.`, descriptionClass:'mt-2 mb-0', bodyClass:'bg-body-tertiary overflow-hidden' }).mb-3 +ImageThumbnailDemo +ComponentCard({ title: 'Aligning images', anchor: true, description:`Align images with the helper float classes or text alignment classes. block-level images can be centered using the .mx-auto margin utility class.`, descriptionClass:'mt-2 mb-0', bodyClass:'bg-body-tertiary overflow-hidden' }) +AlignImageDemo