Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
全部,
我在使用面板栏和动画时遇到问题。当它膨胀时,它会在底部“跳跃”一点。我在面板内的内容在底部确实有填充/边距,我需要在那里创建分隔。任何人都知道如何让它退出跳跃,同时在里面的内容底部仍然有填充/边距?
我们在使用 panelBar 时也遇到了这个问题,我们通过将 css 规则添加到 panelBar 中的内容来解决它,如下所示:
html:
<ul data-role="panelbar" > <li> <span><h3>Some text</h3></span> <ul class="category-content> <li> Some item </li> </ul> </li> </ul>
CSS:
.category-content { width: 100%; }