List
Text Lists are more dependent upon HTML and CSS resets than other elements, particularly to control indents, bullet styles, and number styles.
evo-list
- list item 1
- list item 2
- list item 3
<ul class="evo-list">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
Sets padding and left margin spacing and removes bullets. Create a <ul>
tag with the evo-list
class. Place <li>
tags nested underneath. Margin and padding variables can be adjusted in _evo_variables.scss
list-none
- list item 1
- list item 2
- list item 3
<ul class="list-none">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
This simply removes the bullets from an unordered list. Create a <ul>
or <ol>
tag with the list-none
class. Place <li>
tags nested underneath. Variables can be adjusted in _evo_variables.scss
list-hang
- list item 1
- list item 2
- list item 3
<ul class="list-hang">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
This hangs bullets beyond the left text axis. Create a <ul>
tag and apply the list-hang
and list-align
class.
- list item 1
- list item 2
- list item 3
<ol class="list-hang">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ol>
Also works with an ordered <ol>
list.
Mix Examples
- List item 1
- List item 2
- List item 3
- List item 4
- List item 5
- List item 6
- List item 7
- List item 8
- List item 9
- List item 10
<ol class="list-decimal-zero evo-list-lines gray-12 text-uppercase text-size-2 text-tracking-8 text-measure-2>
<li><a href="javascript:void(0)">List item 1</a></li>
<li><a href="javascript:void(0)">List item 2</a></li>
<li><a href="javascript:void(0)">List item 3</a></li>
<li><a href="javascript:void(0)">List item 4</a></li>
<li><a href="javascript:void(0)">List item 5</a></li>
<li><a href="javascript:void(0)">List item 6</a></li>
<li><a href="javascript:void(0)">List item 7</a></li>
<li><a href="javascript:void(0)">List item 8</a></li>
<li><a href="javascript:void(0)">List item 9</a></li>
<li><a href="javascript:void(0)">List item 10</a></li>
</ol>
Mix and match classes to create new styles.
<ul class="list-bullet list-inline bullet-slash bullet-gray-light evo-gray-dark text-uppercase text-size-2 text-tracking-8 vertical-align-middle">
<li><a href="javascript:void(0);">Breadcrumb 1</a></li>
<li><a href="javascript:void(0);">Breadcrumb 2</a></li>
<li><a href="javascript:void(0);">Breadcrumb 3</a></li>
</ul>
Creatively mix classes to create a breadcrumb.