GC Design System CSS Shortcuts
GC Design System Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

List style

The list style class sets the list-style property. It controls the appearance of list item markers.

Overview

CSS Shortcut class Applied style
list-circle
list-style: circle;
margin: 0 0 0 var(--gcds-spacing-400);
list-disc
list-style: disc;
margin: 0 0 0 var(--gcds-spacing-400);
list-square
list-style: square;
margin: 0 0 0 var(--gcds-spacing-400);
list-decimal
list-style: decimal;
margin: 0 0 0 var(--gcds-spacing-400);
list-decimal-leading-zero
list-style: decimal-leading-zero;
margin: 0 0 0 var(--gcds-spacing-400);
list-upper-roman
list-style: upper-roman;
margin: 0 0 0 var(--gcds-spacing-400);
list-lower-roman
list-style: lower-roman;
margin: 0 0 0 var(--gcds-spacing-400);
list-upper-alpha
list-style: upper-alpha;
margin: 0 0 0 var(--gcds-spacing-400);
list-lower-alpha
list-style: lower-alpha;
margin: 0 0 0 var(--gcds-spacing-400);
list-none
list-style: none;

Examples

Circle
list-circle

  • This list marker is a circle.
  • This list marker is a circle.
  • This list marker is a circle.
<ul class="list-circle">
  <li>This list marker is a circle.</li>
  <li>This list marker is a circle.</li>
  <li>This list marker is a circle.</li>
</ul>

Disc
list-disc

  • This list marker is a filled-in circle.
  • This list marker is a filled-in circle.
  • This list marker is a filled-in circle.
<ul class="list-disc">
  <li>This list marker is a filled-in circle.</li>
  <li>This list marker is a filled-in circle.</li>
  <li>This list marker is a filled-in circle.</li>
</ul>

Square
list-square

  • This list marker is a square.
  • This list marker is a square.
  • This list marker is a square.
<ul class="list-square">
  <li>This list marker is a square.</li>
  <li>This list marker is a square.</li>
  <li>This list marker is a square.</li>
</ul>

Decimal
list-decimal

  1. This list marker uses numbers.
  2. This list marker uses numbers.
  3. This list marker uses numbers.
<ol class="list-decimal">
  <li>This list marker uses numbers.</li>
  <li>This list marker uses numbers.</li>
  <li>This list marker uses numbers.</li>
</ol>

Decimal leading zero
list-decimal-leading-zero

  1. This list marker uses a numbered list starting with 0.
  2. This list marker uses a numbered list starting with 0.
  3. This list marker uses a numbered list starting with 0.
<ol class="list-decimal-leading-zero">
  <li>This list marker uses a numbered list starting with 0.</li>
  <li>This list marker uses a numbered list starting with 0.</li>
  <li>This list marker uses a numbered list starting with 0.</li>
</ol>

Uppercase Roman
list-upper-roman

  1. This list marker is an uppercase Roman numeral.
  2. This list marker is an uppercase Roman numeral.
  3. This list marker is an uppercase Roman numeral.
<ol class="list-upper-roman">
  <li>This list marker is an uppercase Roman numeral.</li>
  <li>This list marker is an uppercase Roman numeral.</li>
  <li>This list marker is an uppercase Roman numeral.</li>
</ol>

Lowercase Roman
list-lower-roman

  1. This list marker is a lowercase Roman numeral.
  2. This list marker is a lowercase Roman numeral.
  3. This list marker is a lowercase Roman numeral.
<ol class="list-lower-roman">
  <li>This list marker is a lowercase Roman numeral.</li>
  <li>This list marker is a lowercase Roman numeral.</li>
  <li>This list marker is a lowercase Roman numeral.</li>
</ol>

Uppercase alpha
list-upper-alpha

  1. This list marker is uppercase alphabetical.
  2. This list marker is uppercase alphabetical.
  3. This list marker is uppercase alphabetical.
<ol class="list-upper-alpha">
  <li>This list marker is uppercase alphabetical.</li>
  <li>This list marker is uppercase alphabetical.</li>
  <li>This list marker is uppercase alphabetical.</li>
</ol>

Lowercase alpha
list-lower-alpha

  1. This list marker is lowercase alphabetical.
  2. This list marker is lowercase alphabetical.
  3. This list marker is lowercase alphabetical.
<ol class="list-lower-alpha">
  <li>This list marker is lowercase alphabetical.</li>
  <li>This list marker is lowercase alphabetical.</li>
  <li>This list marker is lowercase alphabetical.</li>
</ol>

None
list-none

  • This is a list item without a list marker.
  • This is a list item without a list marker.
  • This is a list item without a list marker.
<ul class="list-none">
  <li>This is a list item without a list marker.</li>
  <li>This is a list item without a list marker.</li>
  <li>This is a list item without a list marker.</li>
</ul>

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:list-disc ...">
  ...
</div>
  

Learn more about the responsive layout prefix.

2025-10-01