Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
That's presentation it's about flex-box
Search
Bruna Fernandes
March 02, 2019
Design
1
74
That's presentation it's about flex-box
Bruna Fernandes
March 02, 2019
Tweet
Share
Other Decks in Design
See All in Design
Design Studio Deck | インクルーシブデザインスタジオCULUUM
culumu
3
2.3k
ブランドパーソナリティ言語化における生成AI活用の実際
h0sa
0
180
Designing User Experience through Interaction Design
lycorptech_jp
PRO
0
220
minpaku-community-scrum-patterns
norinity1103
1
150
線で考える画面構成
natsuume
1
890
【Firefly Image 4対応版】上手にFireflyにお願いしてウェブデザイン案を出すぞ!
cremacrema
0
1.4k
Hatena Engineer Seminar #33 チームと開発するためのモック
takuwolog
0
380
【30人中30人が3ヶ月平均180万収入アップ】マズロー安達の弟子、成功事例集
maslow_akkun
0
150
A Platform Connecting Brand Philosophy and Assets: "LY Corporation Design Hub"
lycorptech_jp
PRO
0
220
生成AIを活用した組み込みSW設計書検索システム開発
licux
7
1.2k
7 Core Values of Round-L
wired888
0
400
今日から意識できるアクセシビリティ
fumiko
0
270
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Agile that works and the tools we love
rasmusluckow
329
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
For a Future-Friendly Web
brad_frost
179
9.8k
Practical Orchestrator
shlominoach
189
11k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
A designer walks into a library…
pauljervisheath
207
24k
Being A Developer After 40
akosma
90
590k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Transcript
Flexibilizando sua vida com Flex
Who am I
• Alinhar ao centro vertical e horizontal • Posicionar itens
na tela • Divisão de espaço • Fazer itens se ajustarem ao tamanho de tela
None
Alguém já passou por isso antes!!!
Flexbox
O que é Flexbox?? • O Flexbox é um conceito
do CSS3 Serve para: • organizar os elementos de uma página HTML dentro de seus containers de forma dinâmica. • as dimensões não importam para manter um layout flexível dentro do elemento pai • reorganiza elementos de acordo com a necessidade.
Primeiro!!!! Criar container você deve!
Atributos de container flex-direction
Eixos são importantes: flex-direction O primeiro passo pra se dar
bem com flex é saber se orientar em horizontal e vertical
flex-wrap nowrap wrap / wrap-reverse
flex-flow: row nowrap; flex-flow: column nowrap; flex-flow: row wrap;
justify-content Define o alinhamento dos itens ao longo do eixo
principal do container Só funciona se os itens atuais não ocuparem todo o container flex-start flex-end center space-between space-around
align-items Define como as linhas são distribuídas ao longo do
eixo transversal do container stretch flex-start flex-end center baseline
align-content stretch flex-start flex-end space-between center space-around
Propriedade de Itens Criar itens você deve!
flex-grow – Como era o Comercial? Cresce cresce saudável?
flex-basis auto numero+medida 0
flex-shrink
flex: 0 1 auto; flex: 2; flex: 3 2 300px;
order
align-self stretch flex-start flex-end auto baseline center
None
Links úteis e bibliografia