Stretching Flex Child to Fill Container Height Without Explicit Parent Height
In situations where we need to stretch a flex child to fill the container's entire height, ensuring the parent's height depends on the contents of another child, setting "height: 100%" on the child can lead to unexpected behavior in Flexbox.
Por que usar "altura: 100%" pode quebrar o flexbox
quando usar "altura: 100%" em flexbox:
Isenção de responsabilidade: Todos os recursos fornecidos são parcialmente provenientes da Internet. Se houver qualquer violação de seus direitos autorais ou outros direitos e interesses, explique os motivos detalhados e forneça prova de direitos autorais ou direitos e interesses e envie-a para o e-mail: [email protected]. Nós cuidaremos disso para você o mais rápido possível.
Copyright© 2022 湘ICP备2022001581号-3