List
Lists are used to group together related pieces of information so they are clearly associated with each other and easy to read. In modern web development, lists are workhorse elements, frequently used for navigation as well as general content.
Unordered Lists
List with bullets
In the default unordered list the bullets are in circle shape.
- list item 1
- list item 2
- list item 3
- list item 1
- list item 2
- list item 3
- list item 1
- list item 2
- list item 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- default list -->
<ul class="unorderd-list">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
<!-- circular bullets -->
<ul class="circle-list">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
<!-- square bullets -->
<ul class="square-list">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
List with no bullets
Unordered list with no bullets can be used on navigation. Use
.no-bullets
class to remove bullets .
- list item 1
- list item 2
- list item 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="no-bullet">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
Ordered List
Ordered Bullet List
Ordered list can be used for any steps that must go in particular order. There are many types of bullets that we can use in ordered list.
- List item 1
- List item 2
- List item 3
- List item 1
- List item 2
- List item 3
- List item 1
- List item 2
- List item 3
- List item 1
- List item 2
- List item 3
- List item 1
- List item 2
- List item 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ol class="ordered-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<ol class="upper-alpha-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<ol class="lower-alpha-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<ol class="upper-roman-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<ol class="lower-roman-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
Reversed ordered list
- List item 1
- List item 2
- List item 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ol class="ordered-list" reversed>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
Inline List
- list item 1
- list item 2
- list item 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="no-bullet inline-list">
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
Notification Stacked List
For notification stacked list you can use unorder list with no
bullets by adding .no-bullet
class as shown above
and add any content you want inside the li
to
show notifications. Here is example of snackbar notification
list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="stacked-notification-list no-bullet">
<li>
<div class="snackbar p-sm">
<div class="snackbar-message">
<p>Can't send this photo. Retry in 5 seconds.</p>
</div>
<div class="snackbar-actions">
<button class="btn">RETRY</button>
<button class="btn">
<i class="fas fa-times" title="close"></i>
</button>
</div>
</div>
</li>
<li>
<div class="snackbar p-sm">
<div class="snackbar-message">
<p>Can't send this photo. Retry in 5 seconds.</p>
</div>
<div class="snackbar-actions">
<button class="btn">RETRY</button>
<button class="btn">
<i class="fas fa-times" title="close"></i>
</button>
</div>
</div>
</li>
<li>
<div class="snackbar p-sm">
<div class="snackbar-message">
<p>Can't send this photo. Retry in 5 seconds.</p>
</div>
<div class="snackbar-actions">
<button class="btn">RETRY</button>
<button class="btn">
<i class="fas fa-times" title="close"></i>
</button>
</div>
</div>
</li>
</ul>