Task navigation
+Demo and code
+
+
+
+
+ Break up a service or content into sections that each focus on a step or specific answer they need to do before moving to the next step or section.
+
+
+
+
+ -
+
- Version: 0.1 +
- Updated: May 25, 2020 +
Unordered tasks
+When to use: Use unordered sections when you want to group related tasks that don't necessarily need to be done in sequence.
+
+
+
+
+
+
+
+ HTML
+
+
+
+
+
+
+ <div class="gc-stp-stp">
+ <div class="row">
+ <ul class="toc lst-spcd col-md-12">
+ <li class="col-md-4 col-sm-6">
+ <a class="list-group-item active">1. [Step / section page name]</a>
+ </li>
+ <li class="col-md-4 col-sm-6">
+ <a class="list-group-item" href="#">2. [Step / section page name]</a>
+ </li>
+ <li class="col-md-4 col-sm-6 clr-lft-sm">
+ <a class="list-group-item" href="#">3. [Step / section page name]</a>
+ </li>
+ <li class="col-md-4 col-sm-6 clr-lft-md clr-lft-lg">
+ <a class="list-group-item" href="#">4. [Step / section page name]</a>
+ </li>
+ <li class="col-md-4 col-sm-6 clr-lft-sm">
+ <a class="list-group-item" href="#">5. [Step / section page name]</a>
+ </li>
+ <li class="col-md-4 col-sm-6">
+ <a class="list-group-item" href="#">6. [Step / section page name]</a>
+ </li>
+ </ul>
+ </div>
+</div>
+
+
+ CSS
+
+
+
+
+ .gc-stp-stp {
+ border-bottom: solid 1px #ccc;
+ margin-bottom: 30px;
+ margin-top: 15px;
+}
+
+.toc li {
+ display: inline;
+ font-size: .85em;
+}
+
+.lst-spcd>li {
+ margin-bottom: 10px;
+}
+
+.list-group-item {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+ margin-bottom: -1px;
+ background-color: #fff;
+ border: 1px solid #ddd;
+}
+
+.toc li .list-group-item.active,
+.toc li .list-group-item.active:focus,
+.toc li .list-group-item.active:hover {
+ background-color: #26374a;
+ color: #fff;
+ cursor: auto;
+ text-decoration: none;
+ z-index: 2;
+}
+
+.list-group-item.active,
+.list-group-item.active:focus,
+.list-group-item.active:hover {
+ z-index: 2;
+ color: #fff;
+ background-color: #2572b4;
+ border-color: #2572b4;
+}
+
+.list-group-item:last-child {
+ margin-bottom: 0;
+ border-bottom-right-radius: 4px;
+ border-bottom-left-radius: 4px;
+}
+
+.list-group-item:first-child {
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+}
+
+a:not([href]) {
+ color: inherit;
+ text-decoration: none;
+}
+ Ordered steps
+When to use: Use ordered steps when something must be done in a logical sequence.
+ + +
+
+ HTML
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS
+
+
+
+
+
+
+
+
+
+