Created
October 15, 2025 16:03
-
-
Save clementelucas4646/26d4aaff7cfc329fc46d437ed412a37d to your computer and use it in GitHub Desktop.
Anotação - Principais propriedades Flex CSS 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROPRIEDADES CONTEINER: | |
| Display: ativa o flexbox no elemento pai | |
| Flex-direction: direção dos itens | |
| Flex-wrap: controla a quebra de itens | |
| Flex-flow: shorthand para flex-direction + flex-wrap | |
| Justify-content: alinhamento eixo principal | |
| Align-items: alinhamento eixo cruzado | |
| Align-content: trata alinhamento quando há quebra (só entra em uso quando o flex-wrap estiver ativado) | |
| PROPRIEDADES ITENS: | |
| Order: ordem de exibição dos itens | |
| Flex-grow: item crescer com espaço sobrando | |
| Flex-shrink: item encolher com espaço sobrando | |
| Flex-basis: tamanho inicial do item antes de crescer/encolher | |
| Flex: shorthand para flex-grow, flex-shrink e flex-basis | |
| Align-self: alinhamento individual no eixo cruzado |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment