GC Design SystemCSS Shortcuts
GC Design System Start to use Page templates overviewBasic page Components overviewAlertBreadcrumbsButtonCardCheckboxesContainerDate inputDate modifiedDetailsError messageError summaryFieldsetFile uploaderFooterGridHeaderHeadingIconInputLanguage toggleLinkNoticePaginationRadiosScreenreader-onlySearchSelectSide navigationSignatureStepperTableTextTextareaTheme and topic menuTop navigation CSS Shortcuts overview Reset styles Responsive layoutState Box sizingContainer sizingDisplayOverflowPositionVisibility FontFont familyFont sizeFont styleFont weightLine heightLink colourLink sizeLink text decorationList styleText alignText colourText overflowText transformWord break MarginPadding Align contentAlign itemsAlign selfFlexFlex directionFlex growFlex shrinkFlex wrapGapGrid columnsGrid rowsJustify contentJustify itemsJustify selfOrderPlace contentPlace itemsPlace self Background colourBorder colourBorder radiusBorder styleBorder width Icon namesIcon sizeImage CursorPointer eventsTransition Styles overviewDesign tokensColourSpacingTypography Contact usGet InvolvedFind a demo

Image

The image class sets the width or max-width properties of an image. It controls how big the image is. Overview
CSS Shortcut class Applied style
img-full
width: 100%;
img-responsive
max-width: 100%;

Examples

Full
img-full

A horizontal banner with purple flowers.
This image takes up 100% of the available width.
<figure>
  <img src="/images/common/css-shortcuts/image-example.png" alt="A horizontal banner with purple flowers." class="img-full" />
  <figcaption>
    This image takes up 100% of the available width.
  </figcaption>
</figure>

Responsive
img-responsive

A horizontal banner with purple flowers.
This image scales with its parent element.
<figure class="container-md">
  <img src="/images/common/css-shortcuts/image-example.png" alt="A horizontal banner with purple flowers." class="img-responsive" />
  <figcaption>
    This image scales with its parent element.
  </figcaption>
</figure>
Conditional styling Apply this style to specific screen sizes Use a responsive layout prefix to apply this class only to a specified screen size. The available breakpoints are:
  • xs: > 480px
  • sm: > 640px
  • md: > 768px
  • lg: > 1024px
  • xl: > 1280px
<div class="xs:img-responsive ...">
  ...
</div>
Learn more about the responsive layout prefix. 2025-10-01