Hello, Boswell
  • 警告

警告

flex 容器中的 flex 容器溢出隐藏

flex 容器中的 flex 容器如果想要在flex:1的情况下溢出隐藏,需要给父层的 flex 容器添加overflow:hidden,否则不会生效