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.
我使用了一个手风琴插件,修改了 CSS 和 jQuery,现在我想达到这个问题标题中描述的结果。基本上,一个简单的问题,如果内容的高度小于最大高度,如何删除滚动选项卡?
.info_inside { max-height: 100px; overflow-y: scroll; }
先感谢您。
auto改为使用scroll
auto
scroll
.info_inside { max-height: 100px; overflow-y: auto; }
w3schools: CSS3 溢出-y 属性