list: unstyled

view source

Remove default styling from a list.

use-name
scut-list-unstyled
type
mixin, with default-values placeholder
arguments
  1. $no-margin
    default
    true

    If true, top and bottom margins will be removed from the list.

Specifically, remove padding-left, list-style-type, and optionally margin-top and margin-bottom.

example

SCSS

.eg-unstyled-list-1 {
  @include scut-list-unstyled;
  // or @extend %scut-list-unstyled;
  }
.eg-unstyled-list-2 {
  @include scut-list-unstyled(false);
}

Result

  • list item
  • list item
  • list item
  • list-with-margins item
  • list-with-margins item
  • list-with-margins item