philipwalton / flexbugs

A community-curated list of flexbox issues and cross-browser workarounds for them.
MIT License
13.63k stars 495 forks source link

Better solution for #15 #256

Open adrianhelvik opened 6 years ago

adrianhelvik commented 6 years ago

margin: auto on the vertical axis works on IE11 if the flex container has align-items: flex-start. This provides safe centering and is thus a better solution.

RinatValiullov commented 6 years ago

image In my IE11 version vertical centering works without setting of align-items: flex-start on the parent container. What do you mean about safe centering?