Y
Hacker News
new
|
ask
|
show
|
jobs
by
jacobedawson
2228 days ago
Having to still support IE 11 for most projects, I really like the following:
div { position: absolute; right: 50%; bottom: 50% transform: translate(50%, 50%); }
2 comments
onion2k
2228 days ago
IE11 supports most of flexbox. You don't need hacks.
link
jacobedawson
2227 days ago
forgot the <
link
RyanGoosling
2228 days ago
It's time to learn flexbox
link
cosmotic
2228 days ago
It's too bad flexbox isn't as easy to understand as box model; that puts the breaks on adoption, regardless of how well it handles the centering scenario.
link
onion2k
2227 days ago
Flexbox is
far
simpler than the box model.
link
dirtnugget
2226 days ago
Box Model is a living mess
link