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

Word break

The word break class sets the word-break property. It controls how words or unbreakable strings break when reaching the end of a line. Overview
CSS Shortcut class Applied style
break-normal
word-break: normal;
break-word
word-break: break-word;
break-all
word-break: break-all;

Examples

Normal
break-normal

These are long words: supercalifragilisticexpialidocious and Sutton-under-Whitestonecliffe. This text breaks only at natural breakpoints, like spaces and hyphens. If there are no natural breakpoints, long words may overflow the container.

<p class="break-normal">
  These are long words: supercalifragilisticexpialidocious
  and Sutton-under-Whitestonecliffe. This text breaks only
  at natural breakpoints, like spaces and hyphens. If there
  are no natural breakpoints, long words may overflow the
  container.
</p>

Word
break-word

These are long words: supercalifragilisticexpialidocious and Sutton-under-Whitestonecliffe. This text breaks long words when necessary to prevent overflow, by breaking anywhere within the word if no natural breakpoints (spaces and hyphens) exist.

<p class="break-word">
  These are long words: supercalifragilisticexpialidocious
  and Sutton-under-Whitestonecliffe. This text breaks long
  words when necessary to prevent overflow, by breaking
  anywhere within the word if no natural breakpoints (spaces
  and hyphens) exist.
</p>

All
break-all

These are long words: supercalifragilisticexpialidocious and Sutton-under-Whitestonecliffe. This text breaks at any point, even in the middle of a word.

<p class="break-all">
  These are long words: supercalifragilisticexpialidocious
  and Sutton-under-Whitestonecliffe. This text breaks at any
  point, even in the middle of a word.
</p>
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:break-word ...">
  ...
</div>
Learn more about the responsive layout prefix. 2025-10-01