Lists

Utility classes for styling lists.

Classes

Classes are immutable, meaning they include !important to override CSS specificity. Useful when styling HTML by including CSS classes in markup.

Class Output
.d-list-reset margin: 0 !important;
padding: 0 !important;
list-style: none !important;
.d-list- list-style: !important;

Examples

  • .d-list-reset
  • The weather had changed overnight.
  • A backing wind brought a granite sky and a mizzling rain with it.
  • .d-list-
  • The weather had changed overnight.
  • A backing wind brought a granite sky and a mizzling rain with it.
<ul class="d-list-reset"></ul>>
<ul class="d-list-none"></ul>>
<ul class="d-list-disc"></ul>>
<ul class="d-list-decimal"></ul>>