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
60
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
28
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
17
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
59
Make your JavaScript projects more accessible to newcomers
silvenon
0
89
React Hooks
silvenon
0
91
PostCSS
silvenon
0
61
Other Decks in Programming
See All in Programming
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
520
関係性から理解する"同一性"の型用語たち
pvcresin
1
140
20260514_its_the_context_window_stupid.pdf
heita
0
1k
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
1
360
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
0
140
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
170
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.6k
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
160
Firefoxにコントリビューションして得られた学び
ken7253
2
160
空間オーディオの活用
objectiveaudio
0
150
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
180
Are We Really Coding 10× Faster with AI?
kohzas
0
180
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.4k
Ruling the World: When Life Gets Gamed
codingconduct
0
230
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
140
Skip the Path - Find Your Career Trail
mkilby
1
120
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
310
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
370
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
270
Six Lessons from altMBA
skipperchong
29
4.2k
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!