基本概念 概念 描述 原理 子容器的高度要大于父容器的高度,此时父容器设置overflow-y才会生效 父容器 .outer { height: 450px; } 子容器 .inter { height: 950px; width: 100%; overflow-y: scroll; } 基本使用 .outer { height: 450px; } .inter { height: