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
Flexbox
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matija Marohnić
July 05, 2017
Programming
58
0
Share
Flexbox
Matija Marohnić
July 05, 2017
More Decks by Matija Marohnić
See All by Matija Marohnić
oxlint & oxfmt: linting and formatting from the future
silvenon
0
27
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
16
Introduction to Remix
silvenon
0
150
Cypress vs. Playwright
silvenon
0
170
Studying Strapi: an open source head headless CMS
silvenon
0
55
CSS Specificity
silvenon
0
58
Make your JavaScript projects more accessible to newcomers
silvenon
0
87
React Hooks
silvenon
0
91
PostCSS
silvenon
0
60
Other Decks in Programming
See All in Programming
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
320
実用!Hono RPC2026
yodaka
2
300
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
310
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
340
Programming with a DJ Controller — not vibe coding
m_seki
3
790
Agentic Elixir
whatyouhide
0
440
[RubyKaigi 2026] Require Hooks
palkan
1
300
Explore CoroutineScope
tomoeng11
0
170
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.1k
空間オーディオの活用
objectiveaudio
0
140
AIを導入する前にやるべきこと
negima
2
340
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
140
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
440
sira's awesome portfolio website redesign presentation
elsirapls
0
230
Claude Code のすすめ
schroneko
67
220k
It's Worth the Effort
3n
188
29k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
The untapped power of vector embeddings
frankvandijk
2
1.7k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
170
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Heart Work Chapter 1 - Part 1
lfama
PRO
6
35k
The agentic SEO stack - context over prompts
schlessera
0
770
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Transcript
Flexbox
None
None
091/72 x 100%-x
Centering
None
.container { } .container .item1 .item2 .item3
.container { display: flex; }
.container { display: flex; align-items: center; }
.container { display: flex; justify-content: space-between; }
.container { display: flex; } .item2 { flex: 1; }
.item2
.container { display: flex; flex-direction: row-reverse; } .item2 .item3 .item1
Browser Support
tl;dr 10+
“Old Syntax”? “Old Specification”?
Autoprefixer
.container { display: flex; align-items: center; justify-content: center; }
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center;
-ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
Browser Inconsistencies
philipwalton flexbugs
Use Flexbox!