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
Matija Marohnić
July 05, 2017
Programming
0
50
Flexbox
Matija Marohnić
July 05, 2017
Tweet
Share
More Decks by Matija Marohnić
See All by Matija Marohnić
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
10
Introduction to Remix
silvenon
0
150
Cypress vs. Playwright
silvenon
0
170
Studying Strapi: an open source head headless CMS
silvenon
0
49
CSS Specificity
silvenon
0
47
Make your JavaScript projects more accessible to newcomers
silvenon
0
80
React Hooks
silvenon
0
85
PostCSS
silvenon
0
46
CSS Custom Properties
silvenon
0
43
Other Decks in Programming
See All in Programming
20260228_JAWS_Beginner_Kansai
takuyay0ne
3
270
並行開発のためのコードレビュー
miyukiw
2
2.1k
CSC307 Lecture 13
javiergs
PRO
0
310
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
120
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
190
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
12
7.1k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
310
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
470
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
320
AI巻き込み型コードレビューのススメ
nealle
2
2.4k
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
200
文字コードの話
qnighy
43
16k
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
150
Exploring anti-patterns in Rails
aemeredith
2
280
Bash Introduction
62gerente
615
210k
Being A Developer After 40
akosma
91
590k
Scaling GitHub
holman
464
140k
Utilizing Notion as your number one productivity tool
mfonobong
3
230
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
50k
Faster Mobile Websites
deanohume
310
31k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
68
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
160
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!