Movatterモバイル変換


[0]ホーム

URL:


CoreUI Angular Logo
Framework:
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page

Angular Image Component

Angular image directive with responsive behavior (so it never becomes larger than their parent element) and special styles.

Examples

Responsive images

Images in CoreUI for Angular are made responsive withfluid property. This appliesmax-width: 100%; andheight: auto; to the image so that it scales with the parent element.

Loading...
Loading...

Image thumbnails

In addition to ourborder-radius utilities, you can use propthumbnail to give an image a rounded 1px border appearance.

Loading...
Loading...

Rounded Image

Give an image arounded border appearance.

Loading...
Loading...

Aligning images

Align images with thealign property.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

API reference

Image Module

import { ImgModule } from '@coreui/angular';@NgModule({   imports: [ImgModule,]})export class AppModule(){}

cImg

directive

namedescriptiontypedefault
alignSet the horizontal aligment."" |"start" |"end" |"center"""
fluidMake image responsive.booleanfalse
roundedMake image rounded.booleanfalse
thumbnailGive an image a rounded 1px border appearance.booleanfalse

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.5.17 Code licensed MIT, docs CC BY 3.0 .
CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp