基础6 - 我怎样才能在顶栏下面排成一排?

时间:2017-06-04 19:54:56

标签: css zurb-foundation zurb-foundation-6

我有一个粘性top-bar,例如:

<div id="main-navigation" class="top-bar-container" data-sticky-container>
    <div class="sticky sticky-topbar" data-sticky data-options="anchor: page; marginTop: 0; stickyOn: small;">
        <div class="top-bar">
            <div class="top-bar-left">
                <ul class="dropdown menu" data-dropdown-menu>
                    <li class="menu-text">
                        <strong>My Brand</strong>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>

现在我有一个row,我想坚持它,但它不能正常工作(滚动时它会粘在页面的顶部):

<div class="filter-row row" data-sticky-container>
    <div class="sticky column expanded" data-sticky data-top-anchor="main-navigation:bottom">

    </div>
</div>

P.S。:main-navigation正确粘贴。

0 个答案:

没有答案