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

Border style

The border style class sets the border-style property. It controls the line style for all sides of an element’s border. Overview
CSS Shortcut class Applied style
b-solid
border-style: solid;
b-dashed
border-style: dashed;
b-dotted
border-style: dotted;
b-none
border-style: none;

Examples

Solid
b-solid

This element has a solid border style.

<p class="b-md b-solid">
  This element has a solid border style.
</p>

Dashed
b-dashed

This element has a dashed border style.

<p class="b-md b-dashed">
  This element has a dashed border style.
</p>

Dotted
b-dotted

This element has a dotted border style.

<p class="b-md b-dotted">
  This element has a dotted border style.
</p>

None
b-none

This element has no border.

<p class="b-md b-none">This element has no border.</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:b-solid ...">
  ...
</div>
Learn more about the responsive layout prefix. Apply this style to specific states Use a state prefix to apply this class only to a specified interaction state. The available states are:
  • hover
  • focus
<div class="hover:b-solid ...">
  ...
</div>
Learn more about the state prefix. 2025-10-01