父容器display:flex后,子元素的内部元素height:100%无效解决方法:父容器 position:relative; 子元素 position:absolute; width: 100%; height:100%;