5.7.1 navigation.tabs.stacked Tabs (stacked)
Toggle example guides Toggle HTML markup
When the secondary tabs appear directly after the primary tabs, the styling is slightly different.
Markup: navigation/tabs/tabs--stacked.twig
<span class="xml"></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">include</span></span> "tabs.twig" %}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">set</span></span> modifier_class = 'tabs--secondary' %}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">include</span></span> "tabs.twig" %}</span><span class="xml">
</span>
Source:
navigation/tabs/_tabs.scss
, line 14