Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SahAssar
on June 2, 2018
|
parent
|
context
|
favorite
| on:
Web Code is a solved Problem – how about fixing We...
Only if it's a block or inline-block child though, right?
throwaway413
on June 2, 2018
[–]
No, margin auto will center the child regardless of display property so long as the parent is a flexbox.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: