         &lt;li>&lt;a class="dropdown-item" href="#">Another action&lt;/a>&lt;/li>
                &lt;li class="dropdown">&lt;a class="dropdown-item dropdown-toggle" href="#">A long sub menu&lt;/a>
                  &lt;ul class="dropdown-menu">
                    &lt;li>&lt;a class="dropdown-item" href="#">Action&lt;/a>&lt;/li>
                    &lt;li>&lt;a class="dropdown-item" href="#">Something else here&lt;/a>&lt;/li>
                    &lt;li>&lt;a class="dropdown-item" href="#">One more link&lt