$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
flexbox 4 life (In.Tegra.Do)
Search
Felipe Bernardes
November 19, 2015
Programming
0
98
flexbox 4 life (In.Tegra.Do)
Talk apresentada na Tegra em 04/09/2015
Felipe Bernardes
November 19, 2015
Tweet
Share
More Decks by Felipe Bernardes
See All by Felipe Bernardes
Gardening for Communities - Organically Cultivating Local Communities
felipebernardes
0
120
15 JavaScript Do's & Don'ts
felipebernardes
0
96
An Animated Poem, built with CSS drawings & animations
felipebernardes
1
210
Todas as falhas da minha carreira (até outubro/2019)
felipebernardes
0
83
Immersive Journalism using AR/VR
felipebernardes
0
220
7 Formas de Melhorar seu Networking
felipebernardes
0
48
BEM Show & Tell @ Space Coworking
felipebernardes
0
48
Get Started With PWAs
felipebernardes
0
190
CSS Layouting::putting things into place
felipebernardes
0
64
Other Decks in Programming
See All in Programming
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
280
AIコーディングエージェント(NotebookLM)
kondai24
0
220
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
620
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
440
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
0
160
SwiftUIで本格音ゲー実装してみた
hypebeans
0
490
これならできる!個人開発のすゝめ
tinykitten
PRO
0
130
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
590
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
Go コードベースの構成と AI コンテキスト定義
andpad
0
140
Deno Tunnel を使ってみた話
kamekyame
0
230
tparseでgo testの出力を見やすくする
utgwkk
2
280
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
72
The SEO identity crisis: Don't let AI make you average
varn
0
36
Marketing to machines
jonoalderson
1
4.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
190
Un-Boring Meetings
codingconduct
0
160
Statistics for Hackers
jakevdp
799
230k
SEO for Brand Visibility & Recognition
aleyda
0
4.1k
First, design no harm
axbom
PRO
1
1.1k
How to make the Groovebox
asonas
2
1.8k
エンジニアに許された特別な時間の終わり
watany
105
220k
The Limits of Empathy - UXLibs8
cassininazir
1
190
Transcript
flexbox4life INTEGRADO P O R F E L I P
E B E R N A R D E S
grid layout
None
None
None
implementação
table grid
float grid
flexbox module a melhor forma de posicionar, alinhar e distribuir
elementos
<section class=”flex-container”> <div class=”pera”></div> <div class=”uva”></div> <div class=”maca”></div> </section>
None
.flex-container { display: flex; }
None
.flex-container { display: flex; flex-flow: row; }
None
.flex-container { display: flex; flex-flow: row-reverse; }
None
.flex-container { display: flex; flex-flow: column; }
None
.flex-container { display: flex; flex-flow: column-reverse; }
None
.flex-container { display: flex; flex-flow: row wrap; }
None
.pera, .uva, .maca { width: 40%; }
None
.flex-container { display: flex; flex-flow: row; height: 100vh; }
None
.pera, .uva, .maca { margin: auto; }
None
margin: auto;
None
tem mais
.pera { order: 2; } .uva { order: 1; }
.maca { order: 3; }
None
.pera, .maca { flex-grow: 1; } .uva { flex-grow: 2;
}
None
.flex-container { height: 100vh; display: flex; align-content: center; } ou…
flex-start, flex-end, stretch
None
tem mais align-self, flex-basis, flex-shrink, justify-content...
can I...
None
flexbugs
None
None
#milMaravilha … certo?
None
.flex-container { display: -webkit-box; display: -moz-box; -moz-display: flex; -ms-display: flexbox;
display: -ms-flexbox; display: -webkit-flex; display: flex; }
.uva { -webkit-box-ordinal-group: 2; -moz-box-ordinal-group: 2; order: 2; -webkit-order: 2;
-moz-order: 2; -ms-order: 2; }
keep calm
_flexmixins.scss PRIMEIRA CONTRIB PRA @TEGRAOSS
@mixin display-flex { display: -webkit-box; display: -moz-box; -moz-display: flex; -ms-display:
flexbox; display: -ms-flexbox; display: -webkit-flex; display: flex; }
.flex-container { @include display-flex; }
.flex-container { @include display-flex; @include flex-flow(row wrap); }
.flex-container { @include display-flex; @include flex-flow(row wrap); @include align-content(space-around); }
.uva { @include order(2); }
None
None
None
resumão - markup limpa - melhor SEO - responsividade -
CSS semântico
cheatsheet css-tricks.com/snippets/css/a-guide-to-flexbox/
valeu! http://felipebernardes.github.io
[email protected]