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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Matija Marohnić
July 05, 2017
Programming
59
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
88
React Hooks
silvenon
0
91
PostCSS
silvenon
0
60
Other Decks in Programming
See All in Programming
GoogleCloudとterraform完全に理解した
terisuke
1
190
書き換えて学ぶTemporal #fukts
pirosikick
2
370
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
110
Are We Really Coding 10× Faster with AI?
kohzas
0
150
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
170
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
390
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
340
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
400
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
140
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
130
Featured
See All Featured
Crafting Experiences
bethany
1
140
Building the Perfect Custom Keyboard
takai
2
750
The Invisible Side of Design
smashingmag
302
52k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Google's AI Overviews - The New Search
badams
0
1k
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
BBQ
matthewcrist
89
10k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
350
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
240
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
170
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!