Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Flexbox
Search
Matija Marohnić
July 05, 2017
Programming
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
41
Goodbye jsdom/happy-dom, hello Vitest Browser Mode!
silvenon
0
32
Introduction to Remix
silvenon
0
170
Cypress vs. Playwright
silvenon
0
190
Studying Strapi: an open source head headless CMS
silvenon
0
63
CSS Specificity
silvenon
0
72
Make your JavaScript projects more accessible to newcomers
silvenon
0
99
React Hooks
silvenon
0
100
PostCSS
silvenon
0
67
Other Decks in Programming
See All in Programming
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
300
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
4
2.5k
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
280
iOSDC2026登壇資料.pdf
riofujimon
0
170
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
280
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2k
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
130
スマート反転とウェブアクセシビリティ
camiha
0
210
Heart of Swift Concurrency
koher
0
890
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
120
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
160
速習iPhone Duo対応
yuukiw00w
1
590
Featured
See All Featured
Everyday Curiosity
cassininazir
0
320
Mind Mapping
helmedeiros
1
360
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
510
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Optimising Largest Contentful Paint
csswizardry
37
4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Paper Plane
katiecoart
PRO
4
53k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
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!