开发者社区 问答 正文

overflow:hidden; 鼠标的滚轮滚动还能使用,这个怎么实现的?

http://amazeui.org/widgets
类似于这个网站的左侧导航那个

展开
收起
a123456678 2016-05-27 17:58:38 2361 分享 版权
1 条回答
写回答
取消 提交回答
  • <div class="container">
      <div class="content">内容</div>
    </div>
    .container {height:500px;overflow:hidden;width:200px;}
    .content {height:100%;overflow:auto;width:100%;padding-right:20px;}
    2019-07-17 19:18:32
    赞同 展开评论
问答地址: