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
48
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
9
Introduction to Remix
silvenon
0
140
Cypress vs. Playwright
silvenon
0
160
Studying Strapi: an open source head headless CMS
silvenon
0
48
CSS Specificity
silvenon
0
39
Make your JavaScript projects more accessible to newcomers
silvenon
0
76
React Hooks
silvenon
0
83
PostCSS
silvenon
0
45
CSS Custom Properties
silvenon
0
40
Other Decks in Programming
See All in Programming
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
780
CSC307 Lecture 02
javiergs
PRO
1
760
Basic Architectures
denyspoltorak
0
200
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
320
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
630
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
490
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
700
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
170
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
330
クラウドに依存しないS3を使った開発術
simesaba80
0
220
ThorVG Viewer In VS Code
nors
0
670
Cap'n Webについて
yusukebe
0
160
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
110
Code Review Best Practice
trishagee
74
19k
Context Engineering - Making Every Token Count
addyosmani
9
600
Facilitating Awesome Meetings
lara
57
6.7k
The Curse of the Amulet
leimatthew05
0
7.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
180
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
130
Leo the Paperboy
mayatellez
3
1.3k
The Spectacular Lies of Maps
axbom
PRO
1
430
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
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!