The list-block object
The list-block
object simply creates blocky lists from ul
s or ol
s.
Install using npm:
$ npm install --save-dev aleut.objects.list-block
Usage
Basic usage of the list-block object uses the required classes:
List-item List-item
The only valid children of the .o-list-block
node are .o-list-block__item
.
Options
Other, optional classes can supplement the required base classes:
.o-list-block--[tiny|small|large|huge]
: alter the spacing between the list-elements
For example:
List-item List-item
Enable options
To enable the optional classes set the variables to true
before you import
the _objects.list-block.scss
-file.
;;;;