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
70
That's presentation it's about flex-box
Bruna Fernandes
March 02, 2019
Tweet
Share
Other Decks in Design
See All in Design
Designship 2023|想いを可視化するデザインの力
weddingpark
0
250
decksh object reference
ajstarks
2
920
マスとAIをなめらかにつなぐデザイン
abcmisuzu
0
240
みてね デザイン組織の変遷とデザインマネージャーの振り返り
naoyawatanabe
3
650
顧客体験を作るデザイナーが 意思決定速度を上げるために使うAI
cremacrema
2
570
丸井グループが取り組むエンタープライズアジャイルと プロダクトマネージャーの役割
muture
0
220
社内管理画面のデザインもプロダクトデザイン
takanorip
4
740
20240120_画像生成AI_NovelAI入門・情報収集
doradora09
0
120
他人事じゃないWebアクセシビリティ入門
arihiro17
0
230
文化に寄りそうデザイン
recruitengineers
PRO
4
920
データ活用に強い、伴走型デザインパートナー「DeC」紹介資料
hopin
0
200
プロダクトデザイン部 組織紹介(デザイナー向け)
chatwork_hr
1
260
Featured
See All Featured
The Invisible Side of Design
smashingmag
294
49k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
Ruby is Unlike a Banana
tanoku
96
10k
Building Your Own Lightsaber
phodgson
100
5.7k
BBQ
matthewcrist
80
8.8k
Teambox: Starting and Learning
jrom
128
8.4k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Fireside Chat
paigeccino
22
2.6k
Making Projects Easy
brettharned
109
5.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Clear Off the Table
cherdarchuk
85
310k
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